Added hash iteration tests.