repository tests using apis

Added few positive tests for repository create/update and delete
No assertion makes use of `repository_name`, so I think it can be dropped.