Added test for environment update

please review it
thanks
When the BZ is closed and this test will run it is expected to be a valid positive test, because this we should assert as a positive one.

`self.assertEqual(result.return_code, 0)`