finished intersect() & it's corresponding test