test(graph): Add test for Dijkstra algorithm