Performed minor refactors of rubyish array tests.