Fixed jruby tests.