diff --git a/src-test/core/domhelpertest.js b/src-test/core/domhelpertest.js
index <HASH>..<HASH> 100644
--- a/src-test/core/domhelpertest.js
+++ b/src-test/core/domhelpertest.js
@@ -106,3 +106,13 @@ DomHelperTest.prototype.testHasSupportForStyle = function() {
   this.domHelper_.supportForStyle_ = true;
   assertTrue(this.domHelper_.hasSupportForStyle_());
 };
+
+DomHelperTest.prototype.testInsertNullFontStyle = function() {
+  var counter = webfont.DomHelper.nullFontCounter_,
+      name = this.domHelper_.insertNullFontStyle('');
+
+  assertNotNull(name);
+  assertEquals(name, '__webfontloader_test_' + counter + '__');
+  assertNotEquals(counter, webfont.DomHelper.nullFontCounter_);
+  assertNotNull(webfont.DomHelper.nullFontStyles_[name]);
+};
Added test for insertNullFontStyle.