Use rspec's match_array to clean up tests