Example of using Spock to unit test your JavaScript on the JVM using Nashorn