Add test coverage
Add documentation for opts in mergeObjects