Add test for LaunchableGradleProjectTask#isPublic field

Currently, the test fails when using Tooling API version 2.2.1 which makes no sense, yet. To be investigated.

https://issues.gradle.org/browse/GRADLE-3215

+REVIEW-5314