Seed random number generator in all tests to ensure reproducibility.