Solving problem with grails returning error code equal to zero when test...

...s failed