fix test TestMergeStability