         XCTAssertEqual(imageAttachment.extraAttributes["height"], nil)
     }
     
+    func testHeightGetter() {
+        let imageAttachment = ImageAttachment(identifier: "testing")
+        let height = 500
+        
+        XCTAssertEqual(imageAttachment.height, nil)
+        
+        imageAttachment.extraAttributes["height"] = String(height)
+        XCTAssertEqual(imageAttachment.height, height)
+        
+        imageAttachment.extraAttributes["height"] = nil
+        XCTAssertEqual(imageAttachment.height, nil)
+    }
+    
     func testImageIDNilWhenNotSet() {
         let imageAttachment = ImageAttachment(identifier: "testing")
         

        XCTAssertEqual(imageAttachment.extraAttributes["alt"], nil)
    }
    
    func testWidth() {
        let imageAttachment = ImageAttachment(identifier: "testing")
        let width = 500
        

        XCTAssertEqual(imageAttachment.extraAttributes["width"], nil)
    }
    
    func testWidthGetter() {
        let imageAttachment = ImageAttachment(identifier: "testing")
        let width = 500
        
        XCTAssertEqual(imageAttachment.width, nil)
        
        imageAttachment.extraAttributes["width"] = String(width)
        XCTAssertEqual(imageAttachment.width, width)
        
        imageAttachment.extraAttributes["width"] = nil
        XCTAssertEqual(imageAttachment.width, nil)
    }
    
    func testHeightSetter() {
        let imageAttachment = ImageAttachment(identifier: "testing")
        let height = 500
        
