Added blog validations and tests