Test case for map.