Fixed some bugs on product_test.rb