Iterated over a map (For_Valid_3 test case).