repository tests using apis

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