diff --git a/core/modules/system/lib/Drupal/system/Tests/Bootstrap/EnvironmentUnitTest.php b/core/modules/system/lib/Drupal/system/Tests/Bootstrap/EnvironmentUnitTest.php
new file mode 100644
index 0000000..fed8646
--- /dev/null
+++ b/core/modules/system/lib/Drupal/system/Tests/Bootstrap/EnvironmentUnitTest.php
@@ -0,0 +1,32 @@
+<?php
+
+/**
+ * @file
+ * Definition of Drupal\system\Tests\Bootstrap\EnvironmentUnitTest.
+ */
+
+namespace Drupal\system\Tests\Bootstrap;
+
+use Drupal\simpletest\UnitTestBase;
+
+/**
+ * Tests initialization of system environment.
+ */
+class EnvironmentUnitTest extends UnitTestBase {
+  public static function getInfo() {
+    return array(
+      'name' => 'Environment initialization',
+      'description' => 'Tests initialization of system environment.',
+      'group' => 'Bootstrap',
+    );
+  }
+
+  /**
+   * Tests system locale.
+   */
+  function testLocale() {
+    $utf8_string = 'äöüßαβγδεζηθικλμνξοσὠ';
+    $this->assertIdentical(escapeshellcmd($utf8_string), $utf8_string);
+    $this->assertIdentical(escapeshellarg($utf8_string), '"' . $utf8_string . '"');
+  }
+}
