Unsetting influential env vars in test helper

so that flaky tests are no longer flaky, I hope.