make test more deterministic