repository tests using apis

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