Fix difference in test execution between Gradle build and Eclipse tests run