Prevent inner classes from being tested

Previously there was a command-line test failure because Gradle
aggressively included inner classes in the list of things to be
tested.  Because the test-support framework used inner classes to test
itself, there were failures.  This change ensures that Gradle doesn't
include inner classes.