Added test for environment update

please review it
thanks
```python
result = Environment().update({
    'name': name,
    'new-name': new_name,
})
```