testing DistanceToPointSet