diff --git a/tests/test-data/fragment-html/img-test-fragment.html b/tests/test-data/fragment-html/img-test-fragment.html
new file mode 100644
index 00000000..93cd96c4
--- /dev/null
+++ b/tests/test-data/fragment-html/img-test-fragment.html
@@ -0,0 +1,22 @@
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
\ No newline at end of file
diff --git a/tests/test-data/fragment-html/img-test-fragment.html.out b/tests/test-data/fragment-html/img-test-fragment.html.out
new file mode 100644
index 00000000..3b2c5bab
--- /dev/null
+++ b/tests/test-data/fragment-html/img-test-fragment.html.out
@@ -0,0 +1,93 @@
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ORIGINAL HTML
+---------------
+Line 1:
+Line 2:
+Line 3:
+Line 4:
+Line 5:
+Line 6:
+Line 7:
+Line 8:
+Line 9:
+Line 10:
+Line 11:
+Line 12:
+Line 13:
+Line 14:
+Line 15:
+Line 16:
+Line 17:
+Line 18:
+Line 19:
+Line 20:
+Line 21:
+Line 22:
+
+
+Transformations made from HTML tags to AMP custom tags
+-------------------------------------------------------
+
+ at line 4
+ ACTION TAKEN: img tag was converted to the amp-img tag.
+
+ at line 7
+ ACTION TAKEN: img tag was converted to the amp-img tag.
+
+ at line 10
+ ACTION TAKEN: img tag could NOT be converted to the amp-img tag as the image is not accessible.
+
+
+AMP-HTML Validation Issues and Fixes
+-------------------------------------
+FAIL
+
+ on line 10
+- The tag 'img' may only appear as a descendant of tag 'noscript'. Did you mean 'amp-img'?
+ [code: MANDATORY_TAG_ANCESTOR_WITH_HINT category: DISALLOWED_HTML_WITH_AMP_EQUIVALENT see: https://www.ampproject.org/docs/reference/amp-img.html]
+
+ on line 13
+- The implied layout 'CONTAINER' is not supported by tag 'amp-img'.
+ [code: IMPLIED_LAYOUT_INVALID category: AMP_LAYOUT_PROBLEM see: https://www.ampproject.org/docs/reference/amp-img.html]
+ ACTION TAKEN: amp-img tried to fix problems with amp-img by trying to fetch height, width from image directly and/or setting layout to responsive
+
+ on line 16
+- The mandatory attribute 'height' is missing in tag 'amp-img'.
+ [code: MANDATORY_ATTR_MISSING category: AMP_LAYOUT_PROBLEM see: https://www.ampproject.org/docs/reference/amp-img.html]
+ ACTION TAKEN: amp-img tried to fix problems with amp-img by trying to fetch height, width from image directly and/or setting layout to responsive
+
+ on line 19
+- The attribute 'height' in tag 'amp-img' is set to the invalid value 'auto'.
+ [code: INVALID_ATTR_VALUE category: AMP_LAYOUT_PROBLEM see: https://www.ampproject.org/docs/reference/amp-img.html]
+ ACTION TAKEN: amp-img tried to fix problems with amp-img by trying to fetch height, width from image directly and/or setting layout to responsive
+
+ on line 22
+- Inconsistent units for width and height in tag 'amp-img' - width is specified in 'rem' whereas height is specified in 'px'.
+ [code: INCONSISTENT_UNITS_FOR_WIDTH_AND_HEIGHT category: AMP_LAYOUT_PROBLEM see: https://www.ampproject.org/docs/reference/amp-img.html]
+ ACTION TAKEN: amp-img tried to fix problems with amp-img by trying to fetch height, width from image directly and/or setting layout to responsive
+
+COMPONENT NAMES WITH JS PATH
+------------------------------
+No custom amp script includes required
diff --git a/tests/test-data/fragment-html/img-test-fragment.options.json b/tests/test-data/fragment-html/img-test-fragment.options.json
new file mode 100644
index 00000000..2ff4ce13
--- /dev/null
+++ b/tests/test-data/fragment-html/img-test-fragment.options.json
@@ -0,0 +1,4 @@
+{
+ "_readme" : "requires_internet is just for information for the test runner and has no significance for the functioning of library",
+ "requires_internet": "true"
+}
\ No newline at end of file