initial tests for adding merge function (forgot to add file)