Add unit test for including a validation function when defining multiple
validation rules for a field.