         }
         
         XCTAssertFalse(answerFormat.multipleLines)
-        XCTAssertEqual(answerFormat.validationRegex, "^.{4,}$")
+        XCTAssertEqual(answerFormat.validationRegularExpression?.pattern, "^.{4,}$")
         XCTAssertEqual(answerFormat.maximumLength, 0)
     }
     

        }
        
        XCTAssertFalse(answerFormat.multipleLines)
        XCTAssertEqual(answerFormat.validationRegex, "^[0-9A-F]+$")
        XCTAssertEqual(answerFormat.invalidMessage, "Should be hexidecimal")
        XCTAssertEqual(answerFormat.maximumLength, 0)
    }

        }
        
        XCTAssertFalse(answerFormat.multipleLines)
        XCTAssertEqual(answerFormat.validationRegularExpression?.pattern, "^.{4,}$")
        XCTAssertEqual(answerFormat.maximumLength, 8)
    }
    
