diff --git a/core/tests/Drupal/FunctionalTests/BrowserTestBaseTest.php b/core/tests/Drupal/FunctionalTests/BrowserTestBaseTest.php
index 882e6edcd7..fd07bae413 100644
--- a/core/tests/Drupal/FunctionalTests/BrowserTestBaseTest.php
+++ b/core/tests/Drupal/FunctionalTests/BrowserTestBaseTest.php
@@ -633,4 +633,10 @@ public function testCheckForMetaRefresh() {
     $this->assertSession()->pageTextContains('Test page text.');
   }
 
+  public function testGetDefaultDriveInstance() {
+    putenv('MINK_DRIVER_ARGS', json_encode([NULL, ['key1' => ['key2' => ['key3' => 3, 'key3.1' => 3.1]]]]));
+    $this->getDefaultDriverInstance();
+    $this->assertEquals([NULL, ['key1' => ['key2' => ['key3' => 3, 'key3.1' => 3.1]]]], $this->minkDefaultDriverArgs);
+  }
+
 }
