Suppress warnings in tests

This commit suppresses warnings in test classes that were polluting the
Gradle build output.