Unit test with Groovy