introduce a failing test

This failing test demonstrates one of the things that is wrong with the code currently included in the PR at https://github.com/grails/grails-core/pull/495.