Added validations to product. Updated respective tests.
Added unit tests for Product model.