test case for Product model