diff --git a/core/modules/path/lib/Drupal/path/Tests/PathLanguageTest.php b/core/modules/path/lib/Drupal/path/Tests/PathLanguageTest.php
index 291b633..94f0aff 100644
--- a/core/modules/path/lib/Drupal/path/Tests/PathLanguageTest.php
+++ b/core/modules/path/lib/Drupal/path/Tests/PathLanguageTest.php
@@ -162,5 +162,35 @@ function testAliasTranslation() {
     // Second call should return the same alias.
     $french_node_alias = $this->container->get('path.alias_manager')->getPathAlias('node/' . $french_node->nid, $french_node->langcode);
     $this->assertEqual($french_node_alias, $french_alias, 'Alias is the same.');
+
+    // Test that the alias language is the same as the node language by default.
+    // We do this by creating an english node with a path alias, then loading
+    // the alias directly to be sure it matches.
+    $test_node = $this->drupalCreateNode(array('type' => 'page'));
+    $test_alias = $this->randomName();
+
+    $edit = array();
+    $edit['langcode'] = 'en';
+    $edit['path[alias]'] = $test_alias;
+    $this->drupalPost('node/' . $test_node->nid . '/edit', $edit, t('Save'));
+
+    // Now load the path and ensure the langcodes match.
+    $conditions = array(
+      'source' => 'node/' . $test_node->nid,
+      'langcode' => $edit['langcode'],
+    );
+    $path = \Drupal::service('path.crud')->load($conditions);
+    $this->assertEqual($path['langcode'], $edit['langcode'],
+      t('Alias language is equivalent to node language by default.'));
+
+    // Test that a node path alias langcode can be changed programmatically.
+    $test_node = $this->drupalGetNodeByTitle($test_node->title);
+    $test_node->path = $path;
+    $test_node->path['langcode'] = Language::LANGCODE_NOT_SPECIFIED;
+    $test_node->save();
+    $conditions['langcode'] = Language::LANGCODE_NOT_SPECIFIED;
+    $path = \Drupal::service('path.crud')->load($conditions);
+    $this->assertEqual($path['langcode'], Language::LANGCODE_NOT_SPECIFIED,
+      t('Alias language can be changed by altering the node properties.'));
   }
 }
