Test isOverLap logic