readded merge graph unit test