diff --git a/core/modules/system/tests/Drupal/system/Tests/Transliteration/MachineNameControllerTest.php b/core/modules/system/tests/Drupal/system/Tests/Transliteration/MachineNameControllerTest.php
index 8eb2592..52e0fec 100644
--- a/core/modules/system/tests/Drupal/system/Tests/Transliteration/MachineNameControllerTest.php
+++ b/core/modules/system/tests/Drupal/system/Tests/Transliteration/MachineNameControllerTest.php
@@ -21,12 +21,23 @@
 class MachineNameControllerTest extends UnitTestCase {
 
   /**
-   * The machine name controller.
+   * A machine name controller.
+   *
+   * Created using 'new'.
    *
    * @var \Drupal\system\MachineNameController
    */
   protected $machineNameController;
 
+  /**
+   * A machine name controller.
+   *
+   * Created using MachineNameController::create().
+   *
+   * @var \Drupal\system\MachineNameController
+   */
+  protected $machineNameControllerCreate;
+
   public static function getInfo() {
     return array(
       'name' => 'Machine name controller tests',
@@ -37,8 +48,15 @@ public static function getInfo() {
 
   public function setUp() {
     parent::setUp();
-    // Create the machine name controller.
-    $this->machineNameController = new MachineNameController(new PHPTransliteration());
+    // We need a transliteration object.
+    $trans = new PHPTransliteration();
+    // Create with new.
+    $this->machineNameController = new MachineNameController($trans);
+    // Create with create.
+    // Set up our container.
+    $container = new ContainerBuilder();
+    $container->set('transliteration', $trans);
+    $this->machineNameControllerCreate = MachineNameController::create($container);
   }
 
   /**
@@ -78,6 +96,8 @@ public function testMachineNameController(array $request_params, $expected_conte
     $request = Request::create('', 'GET', $request_params);
     $json = $this->machineNameController->transliterate($request);
     $this->assertEquals($expected_content, $json->getContent());
+    $json = $this->machineNameController->transliterate($request);
+    $this->assertEquals($expected_content, $json->getContent());
   }
 
 }
