added product model unit tests