Added test for environment update

please review it
thanks
Remove one indentation here and add a comma after the last item:

```python
result = Environment().update({
    'name': name,
    'new-name': new_name,
})
```