Make environment handling in tests more robust / less prone to accidental test-execution-order bugs.