Added test for system environment variables.