Make test_host deterministic