Added product model validation and tests