[test-refactoring] Use the ProductRepository in more actions of ProductsController