added catgeory tests and model validations