Fix tests for cuts.
Fix example for random_bipartite

The check of a connected graph doesn't play any role in the example.
Very rarely it gave an error to nosetests.