Gradle builds but tests fail.