Replaced with Spock test