Updated the product listing views
Added validations to product model
Fixed product function tests