ClipSegments test