fix use of deprecated class

fixes #16, the tests run with grails 2.0.0.