Significantly speed up iteration test in map_test.

Basically we avoid creating a huge StringMap again, since creating takes
a long time and we've already done it before.
Print HashMap statistics in an attempt to figure out the slowness.