Added TEIntersect and related tests.