Fix compilation errors in grails-test
author: Cédric Champeau