GRAILS-11428 add test that uses Domain annotation