Adding regression test for the new environment variable added for Bug#4065.