Test of shortest path algorithm
Shortest path algorithm consistency test