added spock tests