Test scope fix

Fix test dependencies. Update groovyc to use the test classpath and not the (main) compile classpath