added validation rules on create for optional fields
added tests and validation rules. all tests pass