Testcase for Grails problem on 2.3.6