Rewrites retrying tests with Spock