Add specs and validations in category model.