Add a test case to test loading config from an environment variable.