Added a random seed to the test