If you want to be extra cautious you could clear the env vars before the test run and restore them after.