Issue description
In attempting a merge of the mongodb & data-mapping repos, it was noticed that unless the Application class is annotated with @SpringBootApplication then the grails test could not use a different application class. The test also had to be annotated with @SpringBootTest(useMainMethod = SpringBootTest.UseMainMethod.ALWAYS)