         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() {

}


func fontAttribute(_ description: String) -> (AnyHashable, Any) -> Bool {
    return { (key: AnyHashable, value: Any) in
        guard let attributeName = key.base as? String, attributeName == "NSFont" else {
            return false

        let attributesOfFirstWord = result.attributesAt(0, result.length)
        XCTAssert(attributesOfFirstWord.count == 2)
        XCTAssert(attributesOfFirstWord.contains(where: colorAttribute(UIColor.red)))
        XCTAssert(attributesOfFirstWord.contains(where: fontAttribute(largeFont)))
    }
    
    func testOperator_piping_produced_same_string_as_function_composition() {
