test for productsController