intersection and tests