Added a test for Dijkstra for inaccessible nodes