Fix for jruby specs