Write test for merge method
Write merge method