adding validation to products model
fixing controller tests