Try to fix spec failure at Jruby