Added tests for the Merge method