Fixes random seed in testing