Don't mutate global state in test.