Add tests for Intersections2D.