Added test for environment update

please review it
thanks
sorry to be a pain, but could you change the double quotes to single on these two lines?