My first attempt at unit testing in groovy