Add multi tests

Adding a few more test cases for merge function.