test for GRAILS-9876