updated unit test for product