Test route minimum/maximum_distance