Fix specs on jruby