Implement iterator support for Map.
Add test for the new map's iterator support.