Make tests Grails 2.3.x compatible