Make spec pass on jruby 1.7.4