GRAILS-11430 improve test case