Ensure Gradle does not execute inner classes as tests