tested merge() method