Ensure test works on jruby