Added spock testing to gradle build. Added pilot spock tests.