specs: fixed failing jruby specs