Adds spock unit tests.