Test for intersectBy().