diff --git a/core/modules/simpletest/lib/Drupal/simpletest/Tests/SimpleTestTest.php b/core/modules/simpletest/lib/Drupal/simpletest/Tests/SimpleTestTest.php
index e46051d..c61ca68 100755
--- a/core/modules/simpletest/lib/Drupal/simpletest/Tests/SimpleTestTest.php
+++ b/core/modules/simpletest/lib/Drupal/simpletest/Tests/SimpleTestTest.php
@@ -181,6 +181,28 @@ function testWebTestRunner() {
   }
 
   /**
+   * Tests that WebTestBase and KernalTestBase tests work through the UI.
+   */
+  function testTestingThroughUI() {
+    $this->drupalGet('admin/config/development/testing');
+    $edit = array(
+      // A WebTestBase test.
+      'tests[Drupal\config\Tests\ConfigImportUITest]' => TRUE,
+    );
+    $this->drupalPostForm(NULL, $edit, t('Run tests'));
+    $this->assertText('ConfigImportUITest test executed.');
+    $this->assertText('0 fails, 0 exceptions');
+    $this->drupalGet('admin/config/development/testing');
+    $edit = array(
+      // A KernalTestBase test.
+      'tests[Drupal\text\Tests\Formatter\TextPlainUnitTest]' => TRUE,
+    );
+    $this->drupalPostForm(NULL, $edit, t('Run tests'));
+    $this->assertText('TextPlainUnitTest test executed.');
+    $this->assertText('0 fails, 0 exceptions');
+  }
+
+  /**
    * Test to be run and the results confirmed.
    */
   function stubTest() {
