diff --git a/core/modules/block/lib/Drupal/block/Tests/BlockTest.php b/core/modules/block/lib/Drupal/block/Tests/BlockTest.php
index 9020087..15d6c11 100644
--- a/core/modules/block/lib/Drupal/block/Tests/BlockTest.php
+++ b/core/modules/block/lib/Drupal/block/Tests/BlockTest.php
@@ -138,6 +138,114 @@ function testBlock() {
   }
 
   /**
+   * Tests placing the same block twice.
+   */
+  function testPlaceBlockTwice() {
+    $block_to_place = 'user_online_block';
+    $theme_name = config('system.theme')->get('default');
+    $blocka = array();
+    $blocka['label'] = $this->randomName(8);
+    $blocka['machine_name'] = strtolower($this->randomName(8));
+    $blocka['region'] = 'sidebar_first';
+
+    $this->drupalPost(
+      'admin/structure/block/add/' . $block_to_place . '/' . $theme_name,
+      $blocka,
+      t('Save block'));
+
+    $this->assertText(t('The block configuration has been saved.'), 'Block A saved.');
+
+    $blockb = array();
+    $blockb['label'] = $this->randomName(8);
+    $blockb['machine_name'] = strtolower($this->randomName(8));
+    $blockb['region'] = 'sidebar_second';
+
+    $this->drupalPost(
+      'admin/structure/block/add/' . $block_to_place . '/' . $theme_name,
+      $blockb,
+      t('Save block'));
+
+    $this->assertText(t('The block configuration has been saved.'), 'Block B saved.');
+
+    $this->drupalGet('node');
+    $this->assertText(t($blocka['label']), 'Block A found on home.');
+    $this->assertText(t($blockb['label']), 'Block B found on home.');
+  }
+
+
+  /**
+   * Tests placing the same block twice with different settings.
+   */
+  function testPlaceBlockTwiceVarious() {
+    $block_to_place = 'node_recent_block';
+    $theme_name = config('system.theme')->get('default');
+    $blocka = array();
+    $blocka['label'] = $this->randomName(8);
+    $blocka['machine_name'] = strtolower($this->randomName(8));
+    $blocka['block_count'] = 2;
+    $blocka['region'] = 'sidebar_first';
+
+    $this->drupalPost(
+      'admin/structure/block/add/' . $block_to_place . '/' . $theme_name,
+      $blocka,
+      t('Save block'));
+
+    $this->assertText(t('The block configuration has been saved.'), 'Block A saved.');
+
+    $blockb = array();
+    $blockb['label'] = $this->randomName(8);
+    $blockb['machine_name'] = strtolower($this->randomName(8));
+    $blocka['block_count'] = 9;
+    $blockb['region'] = 'sidebar_second';
+
+    $this->drupalPost(
+      'admin/structure/block/add/' . $block_to_place . '/' . $theme_name,
+      $blockb,
+      t('Save block'));
+
+    $this->assertText(t('The block configuration has been saved.'), 'Block B saved.');
+
+    $this->drupalGet('node');
+    $this->assertText(t($blocka['label']), 'Block A found on home.');
+    $this->assertText(t($blockb['label']), 'Block B found on home.');
+  }
+
+  /**
+   * Tests placing the same menu block twice.
+   */
+  function testPlaceMenuBlockTwice() {
+    $block_to_place = 'system_menu_block:menu-account';
+    $theme_name = config('system.theme')->get('default');
+    $blocka = array();
+    $blocka['label'] = $this->randomName(8);
+    $blocka['machine_name'] = strtolower($this->randomName(8));
+    $blocka['region'] = 'sidebar_first';
+
+    $this->drupalPost(
+      'admin/structure/block/add/' . $block_to_place . '/' . $theme_name,
+      $blocka,
+      t('Save block'));
+
+    $this->assertText(t('The block configuration has been saved.'), 'Block A saved.');
+
+    $blockb = array();
+    $blockb['label'] = $this->randomName(8);
+    $blockb['machine_name'] = strtolower($this->randomName(8));
+    $blockb['region'] = 'sidebar_second';
+
+    $this->drupalPost(
+      'admin/structure/block/add/' . $block_to_place . '/' . $theme_name,
+      $blockb,
+      t('Save block'));
+
+    $this->assertText(t('The block configuration has been saved.'), 'Block B saved.');
+
+    $this->drupalGet('node');
+    $this->assertText(t($blocka['label']), 'Block A found on home.');
+    $this->assertText(t($blockb['label']), 'Block B found on home.');
+  }
+
+  /**
    * Test block title display settings.
    */
   function testHideBlockTitle() {
