Tester for the update_map function