test fix for jruby