Updated tests.

- Added tests for merge operations