Update build.gradle

Add groovy as test dependency