fixed case where there was collision but the line intersection was not in the segments
added two failing test