Fixing array tests in jruby