Centralize a graph comparison function for asserting generated graphs in test.
Correct randomness of DistributionGenerator.

Shuffle without a specification of a set instance of Random was not allowing graphs with the same seed to be the same.
Do more full assertion of graph equality for generator tests.