added a small test and realizing I need to make the merge function more module