adding validation and format tests for the cancellation model
refactored testt. Added format validations to the model