Added test for environment update

please review it
thanks
Does this test pass when non-UTF8 characters are passed in? How do I know that this test is written correctly, given that it's being skipped?