repository tests using apis

Added few positive tests for repository create/update and delete
If you feel so inclined, go ahead and add `orm.EntityReadMixin` to `Repository`. That will allow you to write this:

```python
response = entities.Repository(id=repository_attrs['id']).read_json()
```