Fix warnings in tests

True enough