Write unit test for Product