fix failing tests

See https://github.com/grails/grails-core/commit/a55b85e3506664bdb88d1e9d6f025ae271ad0931