How to test a shell script called myscript, the environment variable FOOBAR must be removed temporarily?