fix a warning in the tests