Add testcase for MERGE