Added test for FieldValidator