added spock and a couple of tests.