tests, error handling, format validations