STS-3686: fixed groovy-related test case