Fix flaky test
The test was implicitly depending on the $SHELL environment variable being unset. By resetting the environment before running the test we ensure this assumption is made explicit.
The test was implicitly depending on the $SHELL environment variable being unset. By resetting the environment before running the test we ensure this assumption is made explicit.