added test for merge command