         let attributesOfFirstWord = result.attributesAt(0, example.length)
         XCTAssert(attributesOfFirstWord.count == 2)
         XCTAssert(attributesOfFirstWord.contains(where: colorAttribute(UIColor.red)))
-        XCTAssert(attributesOfFirstWord.contains(where: fontAttribute("font-weight: bold")))
-        XCTAssert(attributesOfFirstWord.contains(where: fontAttribute("font-style: normal")))
-        XCTAssert(attributesOfFirstWord.contains(where: fontAttribute("font-size: 23.00pt")))
+        XCTAssert(attributesOfFirstWord.contains(where: fontAttribute(largeFont)))
     }
     
     func testString_concatenation_with_function_composition() {

        let attributesOfFirstWord = result.attributesAt(0, result.length)
        XCTAssert(attributesOfFirstWord.count == 2)
        XCTAssert(attributesOfFirstWord.contains(where: colorAttribute(UIColor.red)))
        XCTAssert(attributesOfFirstWord.contains(where: fontAttribute("font-weight: bold")))
        XCTAssert(attributesOfFirstWord.contains(where: fontAttribute("font-style: normal")))
        XCTAssert(attributesOfFirstWord.contains(where: fontAttribute("font-size: 23.00pt")))
    }
    
    func testOperator_piping_produced_same_string_as_function_composition() {

        let attributesOfFirstWord = result.attributesAt(0, 3)
        XCTAssert(attributesOfFirstWord.count == 2)
        XCTAssert(attributesOfFirstWord.contains(where: colorAttribute(UIColor.red)))
        XCTAssert(attributesOfFirstWord.contains(where: fontAttribute(largeFont)))
        
        let attributesOfSecondWord = result.attributesAt(3, 5)
        XCTAssert(attributesOfSecondWord.count == 2)
        XCTAssert(attributesOfSecondWord.contains(where: colorAttribute(UIColor.blue)))
        XCTAssert(attributesOfSecondWord.contains(where: fontAttribute(smallFont)))
    }
    
    func testCombine_multiple_string_to_text() {
