repository tests using apis

Added few positive tests for repository create/update and delete
Should we have a second `yum` repository constant instead of hard-coding it here?