fix DistanceCalculatorTest compat. w/ 5.3