written some specs using Spock