Workaround Gradle bug with test class having no test annotation