fixing some rspec for jruby