Added test for environment update

please review it
thanks
you can drop the second argument from these; 10 is the default value. Also, please use single quotes.