diff --git a/core/modules/image/src/Tests/ImageImportTest.php b/core/modules/image/src/Tests/ImageImportTest.php
new file mode 100644
index 0000000..aa73086
--- /dev/null
+++ b/core/modules/image/src/Tests/ImageImportTest.php
@@ -0,0 +1,51 @@
+<?php
+
+/**
+ * @file
+ * Contains \Drupal\image\Tests\ImageImportTest.
+ */
+
+namespace Drupal\image\Tests;
+
+use Drupal\image\Entity\ImageStyle;
+use Drupal\simpletest\KernelTestBase;
+
+/**
+ * Tests config import for Image styles.
+ *
+ * @group image
+ */
+class ImageImportTest extends KernelTestBase {
+
+  /**
+   * {@inheritdoc}
+   */
+  public static $modules = ['system', 'image', 'image_module_test'];
+
+  /**
+   * Tests importing image styles.
+   */
+  public function testImport() {
+    $style = ImageStyle::create([
+      'name' => 'test'
+    ]);
+
+    $style->addImageEffect(['id' => 'image_module_test_null']);
+    $style->addImageEffect(['id' => 'image_module_test_null']);
+    $style->save();
+
+    $this->assertEqual(count($style->getEffects()), 2);
+
+    $uuid = \Drupal::service('uuid')->generate();
+    $style->set('effects', [
+      $uuid => [
+        'id' => 'image_module_test_null',
+      ],
+    ]);
+    $style->save();
+
+    $style = ImageStyle::load('test');
+    $this->assertEqual(count($style->getEffects()), 1);
+  }
+
+}
diff --git a/core/tests/Drupal/Tests/Core/Plugin/DefaultLazyPluginCollectionTest.php b/core/tests/Drupal/Tests/Core/Plugin/DefaultLazyPluginCollectionTest.php
index 5ae837a..79d9d2e 100644
--- a/core/tests/Drupal/Tests/Core/Plugin/DefaultLazyPluginCollectionTest.php
+++ b/core/tests/Drupal/Tests/Core/Plugin/DefaultLazyPluginCollectionTest.php
@@ -224,16 +224,19 @@ public function testConfigurableGetConfiguration() {
    * @covers ::setConfiguration
    */
   public function testConfigurableSetConfiguration() {
-    $this->setupPluginCollection($this->exactly(3));
-    $this->defaultPluginCollection->getConfiguration();
-    $this->defaultPluginCollection->setInstanceConfiguration('apple', array('value' => 'pineapple'));
+    $this->setupPluginCollection($this->exactly(2));
 
-    $expected = $this->config;
-    $expected['apple'] = array('value' => 'pineapple');
+    $this->defaultPluginCollection->setConfiguration(['apple' => ['value' => 'pineapple', 'id' => 'apple']]);
     $config = $this->defaultPluginCollection->getConfiguration();
-    $this->assertSame($expected, $config);
+    $this->assertSame(['apple' => ['value' => 'pineapple', 'id' => 'apple']], $config);
     $plugin = $this->pluginInstances['apple'];
-    $this->assertSame($expected['apple'], $plugin->getConfiguration());
+    $this->assertSame(['value' => 'pineapple', 'id' => 'apple'], $plugin->getConfiguration());
+
+    $this->defaultPluginCollection->setConfiguration(['cherry' => ['value' => 'kiwi', 'id' => 'cherry']]);
+    $expected['cherry'] = ['value' => 'kiwi', 'id' => 'cherry'];
+    $config = $this->defaultPluginCollection->getConfiguration();
+    $this->assertSame(['cherry' => ['value' => 'kiwi', 'id' => 'cherry']], $config);
+
   }
 
 }
