wrote tests for all product model validations