Added test for utils.merge