updated sync test to use api's to create product/repo

Updated a sync test to create product/repo using api's. Test will use webUI only for sync.