Testing merge method