test whether the script can export env vars