Fixed merging_map & test.