path simplification test