Added $trim property to CRequiredValidator
Added CRequiredValidator test