Union Intersection Hypothesis Test