added tests for ProductRepository