diff --git a/module/VuFind/tests/unit-tests/src/VuFindTest/Cover/LoaderTest.php b/module/VuFind/tests/unit-tests/src/VuFindTest/Cover/LoaderTest.php
index 4996fa61d7c0902f4760e4d349d639ba63ff51ab..4774a8349de85abc3b6c3157374656cfdeb70f4f 100644
--- a/module/VuFind/tests/unit-tests/src/VuFindTest/Cover/LoaderTest.php
+++ b/module/VuFind/tests/unit-tests/src/VuFindTest/Cover/LoaderTest.php
@@ -69,6 +69,20 @@ class LoaderTest extends \VuFindTest\Unit\TestCase
         $this->assertEquals('368', strlen($loader->getImage()));
     }
 
+    /**
+     * Test that requesting an image causes default data to load.
+     * (same as above test, but with assertions in different order to
+     * force appropriate loading).
+     *
+     * @return void
+     */
+    public function testDefaultLoadingForImage()
+    {
+        $loader = $this->getLoader();
+        $this->assertEquals('368', strlen($loader->getImage()));
+        $this->assertEquals('image/gif', $loader->getContentType());
+    }
+
     /**
      * Get a loader object to test.
      *