extend unit test for intersection