         let firstControl = UITextField()
         firstControl.tag = 99
         
-        let validator1 = Validator(control: UITextField(), predicate: { (param1, param2) -> Bool in
-            return true
-        }, predicateParameters: [], errorPlaceholder: nil, errorMessage: "")
-        vc.add(validator: validator1)
-        
-        let validator2 = Validator(control: firstControl, predicate: { (param1, param2) -> Bool in
-            return false
-        }, predicateParameters: [], errorPlaceholder: nil, errorMessage: "V2 ERROR")
-        vc.add(validator: validator2)
-        
-        let validator3 = Validator(control: UITextField(), predicate: { (param1, param2) -> Bool in
-            return false
-        }, predicateParameters: [], errorPlaceholder: nil, errorMessage: "V3 ERROR")
+        let validator1 = Validator(control: UITextField(), predicate: validatorPredicateTrue, predicateParameters: [], errorPlaceholder: nil, errorMessage: "")
+        vc.add(validator: validator1)
+        
+        let validator2 = Validator(control: firstControl, predicate: validatorPredicateFalse, predicateParameters: [], errorPlaceholder: nil, errorMessage: "V2 ERROR")
+        vc.add(validator: validator2)
+        
+        let validator3 = Validator(control: UITextField(), predicate: validatorPredicateFalse, predicateParameters: [], errorPlaceholder: nil, errorMessage: "V3 ERROR")
         vc.add(validator: validator3)
 
         

        
        
        // Test 1 field
        let validator1 = Validator(control: UITextField(), predicate: { (param1, param2) -> Bool in
            return true
        }, predicateParameters: [], errorPlaceholder: nil, errorMessage: "")
        vc.add(validator: validator1)
        XCTAssert(vc.validate(), "Predicate return true but form is invalid")

        
        // test 2 different fields
        let validator2 = Validator(control: UITextField(), predicate: { (param1, param2) -> Bool in
            return true
        }, predicateParameters: [], errorPlaceholder: nil, errorMessage: "")
        vc.add(validator: validator2)
        XCTAssert(vc.validate(), "Predicates return true but form is invalid")

        
        // test invalid field
        let validator3 = Validator(control: UITextField(), predicate: { (param1, param2) -> Bool in
            return false
        }, predicateParameters: [], errorPlaceholder: nil, errorMessage: "")
        vc.add(validator: validator3)
        XCTAssertFalse(vc.validate(), "One of the validators return false but form is valid")
    }

        let firstControl = UITextField()
        firstControl.tag = 99
        
        let validator = Validator(control: firstControl, predicate: validatorPredicateFalse, predicateParameters: [], errorPlaceholder: nil, errorMessage: "")
        vc.add(validator: validator)
        XCTAssertFalse(vc.validate(), "A form has just one but invalid field")
        
