 		XCTAssertEqual(XMLOutput["color3lenght"] as? String, "FF0000")
 		XCTAssertEqual(XMLOutput["color4lenght"] as? String, "FF0000")
 		XCTAssertEqual(XMLOutput["color8lenght"] as? String, "FF0000FF") // alphaToXML = true
+        XCTAssertNil(XMLOutput["colorInvalidRGBString"])
+        XCTAssertNil(XMLOutput["colorErrorInScanHex"])
+        XCTAssertEqual(XMLOutput["colorGrayscale"] as? String, "000000FF")
 	}
 }
 

		color3lenght			<- (map["color3lenght"], XMLHexColorTransform())
		color4lenght			<- (map["color4lenght"], XMLHexColorTransform())
		color8lenght			<- (map["color8lenght"], XMLHexColorTransform(alphaToXML: true))
	}
}


	var color3lenght: TestHexColor?
	var color4lenght: TestHexColor?
	var color8lenght: TestHexColor?
    var colorInvalidRGBString: TestHexColor?
    var colorErrorInScanHex: TestHexColor?
    var colorGrayscale: TestHexColor?

	init(){
		
