some tests in groovy