Added Spock tests