Grails 11670

Adding support for readOnly operation on unit tests