diff --git a/test/test.js b/test/test.js
index <HASH>..<HASH> 100644
--- a/test/test.js
+++ b/test/test.js
@@ -138,10 +138,12 @@ test("Hex Parsing", function() {
 
 	equal (tinycolor("rgb 255 0 0").toHexString(), "#ff0000");
 	equal (tinycolor("rgb 255 0 0").toHexString(true), "#f00");
+	equal (tinycolor("rgba 255 0 0 0.5").toHex8String(), "#80ff0000");
 
 
 	equal (tinycolor("rgb 255 0 0").toHex(), "ff0000");
 	equal (tinycolor("rgb 255 0 0").toHex(true), "f00");
+	equal (tinycolor("rgba 255 0 0 0.5").toHex8(), "80ff0000");
 
 });
Added checks for toHex8String and toHex8 methods to the 'Hex Parsing' test