     }
 
     // MARK: - Helpers
+    let paragraph = "Lorem ipsum dolar sit amet.\n"
 
     func editorConfiguredForTesting(withHTML html: String) -> Aztec.TextView {
         let richTextView = Aztec.TextView(defaultFont: UIFont.systemFontOfSize(14), defaultMissingImage: Gridicon.iconOfType(.Attachment))


    func testToggleBlockquote() {
        let editor = editorConfiguredWithParagraphs()
        let range = NSRange(location: 0, length: 1)
        let length = "Lorem ipsum dolar sit amet.\n".length

        editor.toggleBlockquote(range: range)

        XCTAssert(editor.formattingAtIndexContainsBlockquote(1))
        XCTAssert(editor.blockquoteFormattingSpansRange(NSRange(location: 0, length: length)))

        editor.toggleBlockquote(range: range)

        XCTAssert(!editor.formattingAtIndexContainsBlockquote(1))
        XCTAssert(!editor.blockquoteFormattingSpansRange(NSRange(location: 0, length: length)))
    }

    func testToggleOrderedList() {
        // TODO
    }

    func testToggleUnorderedList() {
        // TODO
    }

    func testInsertLink() {

        let richTextView = Aztec.TextView(defaultFont: UIFont.systemFontOfSize(14), defaultMissingImage: Gridicon.iconOfType(.Attachment))

        let attributes = [NSParagraphStyleAttributeName : NSParagraphStyle()]
        let templateString = NSMutableAttributedString(string: paragraph, attributes: attributes)

        let attrStr = NSMutableAttributedString()
