Fixes and updation for products and repository related  testcases.

1) Include use of factory functions
2) Added 2 new testcases to product and repositories test modules
3) Added support for force_context to forcefully set the org or loc context, when working with testcases that require working with multiple org, that is selecting/changing multiple orgs in a single testcase.