Move value-merging fns and add total test case for merging.