add test for Store.merge