adds product model unit test for validations