GEOM-26: unit testing + avoid double intersections