Unit tests on crossIntersection.