migrating to spock test