Added code to check when  a specified start node was not actually in the set of nodes given
Improved tests