refactored StringField tests