Added Groovy tests and solutions