diff --git a/core/modules/simpletest/simpletest.info b/core/modules/simpletest/simpletest.info
index cf55121..81066ca 100644
--- a/core/modules/simpletest/simpletest.info
+++ b/core/modules/simpletest/simpletest.info
@@ -43,4 +43,5 @@ files[] = tests/xmlrpc.test
 files[] = tests/upgrade/upgrade.test
 files[] = tests/upgrade/upgrade_bare.test
 files[] = tests/upgrade/upgrade_filled.test
+files[] = tests/upgrade/upgrade.image.test
 files[] = tests/upgrade/upgrade.language.test
diff --git a/core/modules/simpletest/tests/upgrade/drupal-7.image.database.php b/core/modules/simpletest/tests/upgrade/drupal-7.image.database.php
new file mode 100644
index 0000000..3cc99c0
--- /dev/null
+++ b/core/modules/simpletest/tests/upgrade/drupal-7.image.database.php
@@ -0,0 +1,66 @@
+<?php
+
+/**
+ * @file
+ * Database additions for language tests. Used in upgrade.language.test.
+ *
+ * This dump only contains data and schema components relevant for language
+ * functionality. The drupal-7.filled.database.php file is imported before
+ * this dump, so the two form the database structure expected in tests
+ * altogether.
+ */
+
+// Add image effects.
+db_insert('image_effects')->fields(array(
+  'ieid',
+  'isid',
+  'weight',
+  'name',
+  'data',
+))
+->values(array(
+  'ieid' => '1',
+  'isid' => '1',
+  'weight' => '0',
+  'name' => 'image_scale',
+  'data' => 'a:3:{s:5:"width";s:3:"177";s:6:"height";s:3:"177";s:7:"upscale";i:0;}',
+))
+->values(array(
+  'ieid' => '2',
+  'isid' => '1',
+  'weight' => '2',
+  'name' => 'image_desaturate',
+  'data' => 'a:0:{}',
+))
+->values(array(
+  'ieid' => '3',
+  'isid' => '2',
+  'weight' => '1',
+  'name' => 'image_rotate',
+  'data' => 'a:3:{s:7:"degrees";s:2:"90";s:7:"bgcolor";s:7:"#FFFFFF";s:6:"random";i:1;}',
+))
+->values(array(
+  'ieid' => '4',
+  'isid' => '2',
+  'weight' => '2',
+  'name' => 'image_desaturate',
+  'data' => 'a:0:{}',
+))
+->execute();
+
+// Add image styles.
+db_insert('image_styles')->fields(array(
+  'isid',
+  'name',
+))
+// Custom style.
+->values(array(
+  'isid' => '2',
+  'name' => 'test-custom',
+))
+// Override thumbnail style.
+->values(array(
+  'isid' => '1',
+  'name' => 'thumbnail',
+))
+->execute();
diff --git a/core/modules/simpletest/tests/upgrade/upgrade.image.test b/core/modules/simpletest/tests/upgrade/upgrade.image.test
new file mode 100644
index 0000000..0fd7249
--- /dev/null
+++ b/core/modules/simpletest/tests/upgrade/upgrade.image.test
@@ -0,0 +1,35 @@
+<?php
+/**
+ * @file
+ * Upgrade tests for Image module.
+ */
+
+/**
+ * Test upgrade of overridden and custom image styles.
+ */
+class ImageUpgradePathTestCase extends UpgradePathTestCase {
+  public static function getInfo() {
+    return array(
+      'name' => 'Image upgrade test',
+      'description' => 'Upgrade tests for overridden and custom image styles.',
+      'group' => 'Upgrade path',
+    );
+  }
+
+  public function setUp() {
+    // Path to the database dump files.
+    $path = drupal_get_path('module', 'simpletest') . '/tests/upgrade';
+    $this->databaseDumpFiles = array(
+      $path . '/drupal-7.bare.database.php.gz',
+      $path . '/drupal-7.image.database.php',
+    );
+    parent::setUp();
+  }
+
+  /**
+   * Tests that custom and overridden image styles have been upgraded.
+   */
+  public function testImageStyleUpgrade() {
+    $this->assertTrue($this->performUpgrade(), 'The upgrade was completed successfully.');
+  }
+}
\ No newline at end of file
