Silence warnings in test cases

Hopefully this will make AppVeyor happy