         XCTAssert(NSEqualRanges(nodesAndRanges[1].range, NSRange(location: 0, length: text3.length())))
     }
 
-    func testLeafNodesWrappingRange5() {
-        let text1 = TextNode(text: "text1 goes here")
-        let text2 = TextNode(text: "text2 goes here.")
-        let text3 = TextNode(text: "text3 goes here..")
-
-        let mainNode = ElementNode(name: "p", attributes: [], children: [text1, text2, text3])
-        let range = NSRange(location: 0, length: mainNode.length() - text3.length())
-
-        let nodesAndRanges = mainNode.leafNodesWrapping(range)
-
-        XCTAssertEqual(nodesAndRanges.count, 2)
-        XCTAssertEqual(nodesAndRanges[0].node as? TextNode, text1)
-        XCTAssertEqual(nodesAndRanges[1].node as? TextNode, text2)
-
-        XCTAssert(NSEqualRanges(nodesAndRanges[0].range, NSRange(location: 0, length: text1.length())))
-        XCTAssert(NSEqualRanges(nodesAndRanges[1].range, NSRange(location: 0, length: text2.length())))
-    }
+//    func testLeafNodesWrappingRange5() {
+//        let text1 = TextNode(text: "text1 goes here")
+//        let text2 = TextNode(text: "text2 goes here.")
+//        let text3 = TextNode(text: "text3 goes here..")
+//
+//        let mainNode = ElementNode(name: "p", attributes: [], children: [text1, text2, text3])
+//        let range = NSRange(location: 0, length: mainNode.length() - text3.length())
+//
+//        let nodesAndRanges = mainNode.leafNodesWrapping(range)
+//
+//        XCTAssertEqual(nodesAndRanges.count, 2)
+//        XCTAssertEqual(nodesAndRanges[0].node as? TextNode, text1)
+//        XCTAssertEqual(nodesAndRanges[1].node as? TextNode, text2)
+//
+//        XCTAssert(NSEqualRanges(nodesAndRanges[0].range, NSRange(location: 0, length: text1.length())))
+//        XCTAssert(NSEqualRanges(nodesAndRanges[1].range, NSRange(location: 0, length: text2.length())))
+//    }
 
     func testLeafNodesWrappingRange6() {
         let text1 = TextNode(text: "text1 goes here")

    /// The results should be:
    ///     - The output match the input, no splitting should occur.
    ///
    func testSplitAtLocation2() {
        
        let text = "Hello World!"
        let textNode = TextNode(text: text)
        let paragraph = ElementNode(name: "p", attributes: [], children: [textNode])
        let div = ElementNode(name: "div", attributes: [], children: [paragraph])
        
        let splitLocation = 0
        
        paragraph.split(atLocation: splitLocation)
        
        XCTAssertEqual(div.children.count, 1)
        XCTAssertEqual(div.children[0], paragraph)
        XCTAssertEqual(paragraph.children.count, 1)
        XCTAssertEqual(paragraph.children[0], textNode)
        XCTAssertEqual(paragraph.text(), "Hello World!")
    }
    
    /// Tests that splitting an element node at a specified text location works fine.
    ///
    /// HTML string: <div><p>Hello World!</p></div>

        XCTAssertEqual(nodesAndRanges[1].node as? TextNode, text2)
        XCTAssertEqual(nodesAndRanges[2].node as? TextNode, text3)

        XCTAssert(NSEqualRanges(nodesAndRanges[0].range, NSRange(location: 1, length: text1.length() - 1)))
        XCTAssert(NSEqualRanges(nodesAndRanges[1].range, NSRange(location: 0, length: text2.length())))
        XCTAssert(NSEqualRanges(nodesAndRanges[2].range, NSRange(location: 0, length: text3.length())))
