test case for GRAILS-10762