Merge pull request #76 from adrianN/master

added a test that checks the distances returned by dijkstra.