In TestGraphs I knew about generateCompleteGraph but not generateRandomGraph; thanks, now using it.