Added environment delete test

please review it
thanks
From line 87 to line 96 could be simplified to:

```python
name = generate_string("utf8", 10)
try:
    make_environment({'name': name})
except CLIFactoryError as err:
    self.fail(err)
```