Using DeepEquals for map comparison.