test merge utility method