Unit test for product model