Running API tests as JUnit tests + Gradle plugin