Added validations to pass the tests for comments model