added dependencies to properly test embedded inner class
http://jira.grails.org/browse/GRAILS-9627
mvoed some test to a new class