set random seed to make test deterministic