still figuring out mocking with groovy