Add regression tests for intersections.