updated test code for products in test/functional/products_controller_test.rb file