Added some validations to the products model
Added functional tests for the store controller