Add specs to cover case of environment variable overriding configuration setting