add tests for product model