added test for merge locations