random seed should not be on top of a module
should be in front of the random number generation to make it replicable. Rearranging tests will change random seeds used in the different tests, also nosetests runs tests in a sequence that will change if a new test is added.