diff --git a/core/modules/system/lib/Drupal/system/Tests/System/SystemListTest.php b/core/modules/system/lib/Drupal/system/Tests/System/SystemListTest.php
new file mode 100644
index 0000000..245ab03
--- /dev/null
+++ b/core/modules/system/lib/Drupal/system/Tests/System/SystemListTest.php
@@ -0,0 +1,58 @@
+<?php
+
+/**
+ * @file
+ * Contains \Drupal\system\Tests\System\SystemListTest.
+ */
+
+namespace Drupal\system\Tests\System;
+
+use Drupal\simpletest\DrupalUnitTestBase;
+use Symfony\Component\DependencyInjection\ContainerBuilder;
+
+/**
+ * Defines a test for the system_list() function.
+ */
+class SystemListTest extends DrupalUnitTestBase {
+
+  /**
+   * The memory backend to use for the test.
+   *
+   * @var \Drupal\Core\Cache\MemoryCounterBackend
+   */
+  protected $memoryCounterBackend;
+
+  public static function getInfo() {
+    return array(
+      'name' => 'System List',
+      'description' => 'Tests the system_list() function in system.module.',
+      'group' => 'System',
+    );
+  }
+
+  /**
+   * {@inheritdoc}
+   */
+  public function containerBuild(ContainerBuilder $container) {
+    parent::containerBuild($container);
+
+    $container->register('cache.backend.memory_counter', 'Drupal\Core\Cache\MemoryCounterBackend');
+    $this->settingsSet('cache', array('bootstrap' => 'cache.backend.memory_counter'));
+  }
+
+  /**
+   * Test system_list().
+   */
+  public function testSystemList() {
+    // Ensure that the internal cache of system_list() is filled.
+    $lists = &drupal_static('system_list');
+
+    $this->memoryCounterBackend = $this->container->get('cache.bootstrap');
+    debug($this->memoryCounterBackend->getCounter('get'));
+    system_list('theme');
+    debug($this->memoryCounterBackend->getCounter('get'));
+    system_list('theme');
+    debug($this->memoryCounterBackend->getCounter('get'));
+  }
+
+}
