Updated the testcase for environment update