GROOVY-6081: Improve unit tests execution time

https://jira.codehaus.org/browse/GROOVY-6081