diff --git a/test/hccrawler/index.test.js b/test/hccrawler/index.test.js
index <HASH>..<HASH> 100644
--- a/test/hccrawler/index.test.js
+++ b/test/hccrawler/index.test.js
@@ -619,7 +619,7 @@ describe('HCCrawler', () => {
 
         describe('when an image is responded after the timeout option', () => {
           beforeEach(() => {
-            this.server.setContent('/', `<body><img src="${PREFIX}/empty.png"></body>`);
+            this.server.setContent('/', `<body><div style="background-image: url('${PREFIX}/empty.png');"></body>`);
             this.server.setContent('/empty.png', '');
             this.server.setResponseDelay('/empty.png', 200);
           });
test(hccrawler): use background image for domcontentloaded tests