Added unit test to verify index matching cares about order of fields