[Tests] ensure `nvm unload` unsets env vars too
diff --git "a/test/fast/Running \"nvm unload\" should unset all function and variables." "b/test/fast/Running \"nvm unload\" should unset all function and variables."
index d2cad17..cd5ec6c 100755
--- "a/test/fast/Running \"nvm unload\" should unset all function and variables."
+++ "b/test/fast/Running \"nvm unload\" should unset all function and variables."
@@ -9,6 +9,7 @@
 die () { echo "$@" ; cleanup ; exit 1; }
 
 typeset -f | awk '/ \(\) $/ && !/^main / {print $1}' > "${BEFORE}"
+env | grep -v PATH= | grep -v NVM_ >> "${BEFORE}"
 
 set +e # TODO: fix
 \. ../../nvm.sh
@@ -19,6 +20,7 @@
 nvm unload
 
 typeset -f | awk '/ \(\) $/ && !/^main / {print $1}' > "${AFTER}"
+env | grep -v PATH= >> "${AFTER}"
 
 ! type nvm > /dev/null 2>&1 || die "nvm not unloaded"