I would prefer if you split this test up and manually set and unset the env variables so both cases are covered.

Other than that, this looks good to me. Great work! :+1: