Tiny dijkstra fix, removed warning in test.