Added test for Dijkstra