Some Test cases with Groovy