Fix a warning for a variable shadowed in the tests