Rewrite JUnit tests in Spock.