diff --git a/editions/test/tiddlers/tests/data/element-mapping/Basic.tid b/editions/test/tiddlers/tests/data/element-mapping/Basic.tid
index 2b5298ce88..3c89d64e98 100644
--- a/editions/test/tiddlers/tests/data/element-mapping/Basic.tid
+++ b/editions/test/tiddlers/tests/data/element-mapping/Basic.tid
@@ -9,11 +9,10 @@ title: Output
\define tv-map-p() div
-\define tv-map-p-class() my-class
This is a paragraph
+
title: ExpectedResult
-
This is a paragraph
\ No newline at end of file
+This is a paragraph
\ No newline at end of file
diff --git a/editions/test/tiddlers/tests/data/element-mapping/BasicWithClass.tid b/editions/test/tiddlers/tests/data/element-mapping/BasicWithClass.tid
new file mode 100644
index 0000000000..8e8a1302bd
--- /dev/null
+++ b/editions/test/tiddlers/tests/data/element-mapping/BasicWithClass.tid
@@ -0,0 +1,19 @@
+title: ElementMapping/BasicWithClass
+description: Mapping one element to another with an added class
+type: text/vnd.tiddlywiki-multiple
+tags: [[$:/tags/wiki-test-spec]]
+
+title: Output
+
+\whitespace trim
+
+
+\define tv-map-p() div
+\define tv-map-p-class() my-class
+
+This is a paragraph
+
++
+title: ExpectedResult
+
+This is a paragraph
\ No newline at end of file