diff --git a/core/modules/locale/src/Tests/LocaleConfigTranslationTest.php b/core/modules/locale/src/Tests/LocaleConfigTranslationTest.php
index 588e779..81d2735 100644
--- a/core/modules/locale/src/Tests/LocaleConfigTranslationTest.php
+++ b/core/modules/locale/src/Tests/LocaleConfigTranslationTest.php
@@ -125,7 +125,7 @@ public function testConfigTranslation() {
     $this->assertFalse($string, 'Configuration strings have been created upon installation.');
 
     // Enable the image module.
-    $this->drupalPostForm('admin/modules', array('modules[Field types][image][enable]' => "1"), t('Install'));
+    $this->drupalPostForm('admin/modules', array('modules[Field Types][image][enable]' => "1"), t('Install'));
     $this->rebuildContainer();
 
     $string = $this->storage->findString(array('source' => 'Medium (220×220)', 'context' => '', 'type' => 'configuration'));
diff --git a/core/modules/system/src/Form/ModulesListForm.php b/core/modules/system/src/Form/ModulesListForm.php
index 289928f..5c98013 100644
--- a/core/modules/system/src/Form/ModulesListForm.php
+++ b/core/modules/system/src/Form/ModulesListForm.php
@@ -203,7 +203,7 @@ public function buildForm(array $form, FormStateInterface $form_state) {
     $form['modules']['#tree'] = TRUE;
     foreach ($modules as $filename => $module) {
       if (empty($module->info['hidden'])) {
-        $package = $module->info['package'];
+        $package = Unicode::ucwords(Unicode::strtolower($module->info['package']));
         $form['modules'][$package][$filename] = $this->buildRow($modules, $module, $distribution);
       }
     }
diff --git a/core/modules/system/src/Tests/Installer/InstallerTranslationTest.php b/core/modules/system/src/Tests/Installer/InstallerTranslationTest.php
index a662428..77a1997 100644
--- a/core/modules/system/src/Tests/Installer/InstallerTranslationTest.php
+++ b/core/modules/system/src/Tests/Installer/InstallerTranslationTest.php
@@ -89,7 +89,7 @@ public function testInstaller() {
     $this->assertEqual($account->language()->getId(), 'de', 'New user is German.');
 
     // Ensure that we can enable basic_auth on a non-english site.
-    $this->drupalPostForm('admin/modules', array('modules[Web services][basic_auth][enable]' => TRUE), t('Install'));
+    $this->drupalPostForm('admin/modules', array('modules[Web Services][basic_auth][enable]' => TRUE), t('Install'));
     $this->assertResponse(200);
 
     // Assert that the theme CSS was added to the page.
diff --git a/core/modules/system/src/Tests/Module/InstallUninstallTest.php b/core/modules/system/src/Tests/Module/InstallUninstallTest.php
index 2295b75..2455241 100644
--- a/core/modules/system/src/Tests/Module/InstallUninstallTest.php
+++ b/core/modules/system/src/Tests/Module/InstallUninstallTest.php
@@ -8,6 +8,7 @@
 namespace Drupal\system\Tests\Module;
 
 use Drupal\Core\Logger\RfcLogLevel;
+use Drupal\Component\Utility\Unicode;
 
 /**
  * Install/uninstall core module and confirm table creation/deletion.
@@ -75,7 +76,7 @@ public function testInstallUninstall() {
 
       // Install the module.
       $edit = array();
-      $package = $module->info['package'];
+      $package = Unicode::ucwords(Unicode::strtolower($module->info['package']));
       $edit["modules[$package][$name][enable]"] = TRUE;
       $this->drupalPostForm('admin/modules', $edit, t('Install'));
 
@@ -145,7 +146,7 @@ public function testInstallUninstall() {
     //   any errors.
     $edit = array();
     foreach ($all_modules as $name => $module) {
-      $edit['modules[' . $module->info['package'] . '][' . $name . '][enable]'] = TRUE;
+      $edit['modules[' . Unicode::ucwords(Unicode::strtolower($module->info['package'])) . '][' . $name . '][enable]'] = TRUE;
     }
     $this->drupalPostForm('admin/modules', $edit, t('Install'));
     $this->assertText(t('@count modules have been enabled: ', array('@count' => count($all_modules))), 'Modules status has been updated.');
