GRAILS-11573 fix bug in using base classes with Grails 2.4 TestRuntime