make test deterministic