repository tests using apis

Added few positive tests for repository create/update and delete
Use ``import copy`` then ``repository_copy = copy.deepcopy(repository_attrs)`` to avoid 'side effects'