added test for model update

please review it
thanks
Also, the factory already run info command, so is better to (the common cli pattern):

```python
name = generate_string(...)

try:
    model = self.factory({'name': name})
except CLIFactoryError as err:
    self.fail(err)

self.assertEqual(name, model['name'])
```