Gradle 2.13-rc-1 TestKit in IDE

Thanks for reporting. This is a known issue and will be fixed with 2.14. Please see another post for more information. As a workaround in the meantime you can reorder the classpath by moving the TestKit JAR before the Tooling API JAR.