Fixes for the tests related to products and repos
Added very basic tests for poducts and repos