created rspec tests for validations on appointments model.