XD-1406 Upgrade groovy

-Upgraded groovy `testCompile` dependency to `2.2.2`