Introduced task service and testing with spock