[#60746198] adding unit test for map

we now have coverage for the iterate function
for Map objects passed in