added tests for DistancePoints