new unit tests for intersect