fix specs on jruby, hopefully