make three specs jruby-friendly