mergeFunction.mergeFunctions tests and replaced isTrue with _.isEqual with Chai's deepEqual