test pathpoints without reverse ordering, for speed
revert to ordered pathpoints
test escaping injection input