adding test for the shortest path single source algorythm