adding tests for product model