Modified code test wording added (language changed from Ruby to Groovy).