Make test deterministic.