fix failing tests

related to the following commits:

https://github.com/grails/grails-core/commit/23dae76fbee2ad65208d563890ea819f5f20f428

https://github.com/grails/grails-core/commit/9e634865f39b4cccde0b940a51f2606b9cf92467