Updated graph test to correctly produce the results from the Dijkstras algorithm of shortest distance calculations.