Fix dependencies for Spock/Groovy tests