Fix matching arrays for rspec tests