Added validation before creating a product.
Updated product controller tests.