intersect() and test functional