build.gradle and tests work with Gradle 2.1