Add spock test cases