fixed Groovy tests