Fix minor compilation warnings in tests.