diff --git a/test/php/library/Businessprocess/Html/HtmlTagTest.php b/test/php/library/Businessprocess/Html/HtmlTagTest.php
new file mode 100644
index 0000000..4b24558
--- /dev/null
+++ b/test/php/library/Businessprocess/Html/HtmlTagTest.php
@@ -0,0 +1,18 @@
+assertEquals(
+ $h1->render(),
+ '
Hea & der
'
+ );
+ }
+}
diff --git a/test/php/library/Businessprocess/Html/TextTest.php b/test/php/library/Businessprocess/Html/TextTest.php
new file mode 100644
index 0000000..4970ec6
--- /dev/null
+++ b/test/php/library/Businessprocess/Html/TextTest.php
@@ -0,0 +1,25 @@
+assertEquals(
+ 'A & O',
+ Text::create('A & O')->getText()
+ );
+ }
+
+ public function testTextIsEscapedWhenRendered()
+ {
+ $this->assertEquals(
+ 'A & O',
+ Text::create('A & O')->render()
+ );
+ }
+}