unit test for product is written