Fix jruby tests