Added spock framework for tests.