add spec from jruby issue