test merge, inner, outer done