         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")
         

    func testImageIDChangesExtraAttributes() {
        let imageAttachment = ImageAttachment(identifier: "testing")
        

        imageAttachment.extraAttributes["class"] = "some-attributes some-more-attributes"
        
        imageAttachment.imageID = 200

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