test for map merge policy and issue
fix issue is old version of Merger class does not guarantee merge operation is over.
Merge pull request #3846 from hasancelik/test/mergePolicy

Test and fix for MergePolicy