Fixed isOverlap, added tests