Added tests for shortest path class