diff --git a/tests/Unit/Suites/KeyValue/KeyValueStoreKeyGeneratorTest.php b/tests/Unit/Suites/KeyValue/KeyValueStoreKeyGeneratorTest.php
index <HASH>..<HASH> 100644
--- a/tests/Unit/Suites/KeyValue/KeyValueStoreKeyGeneratorTest.php
+++ b/tests/Unit/Suites/KeyValue/KeyValueStoreKeyGeneratorTest.php
@@ -79,7 +79,8 @@ class KeyValueStoreKeyGeneratorTest extends \PHPUnit_Framework_TestCase
 		$url = HttpUrl::fromString('http://example.com/path');
 		$key = $this->keyGenerator->createPoCProductSeoUrlToIdKey($url);
 
-		$this->assertNotContains(DIRECTORY_SEPARATOR, $key);
+		$this->assertNotContains('/', $key);
+        $this->assertNotContains('\\', $key);
 	}
 
 	/**
Issue #<I>: Test key/value keys against both forward and backslashes