Use primitive arrays
Move specs over from jruby