diff --git a/test/fixtures/aria/input.html b/test/fixtures/aria/input.html
new file mode 100644
index 0000000..f3653c4
--- /dev/null
+++ b/test/fixtures/aria/input.html
@@ -0,0 +1,16 @@
+
+
ARIA
+
diff --git a/test/fixtures/aria/output.html b/test/fixtures/aria/output.html
new file mode 100644
index 0000000..f79fe92
--- /dev/null
+++ b/test/fixtures/aria/output.html
@@ -0,0 +1,24 @@
+
+
+
+
+ ARIA
+
+
+
+
+
diff --git a/test/fixtures/html-in-svg-in-html/input.html b/test/fixtures/html-in-svg-in-html/input.html
new file mode 100644
index 0000000..eb574d3
--- /dev/null
+++ b/test/fixtures/html-in-svg-in-html/input.html
@@ -0,0 +1,9 @@
+
+SVG
+HTML in SVG in HTML
+
diff --git a/test/fixtures/html-in-svg-in-html/output.html b/test/fixtures/html-in-svg-in-html/output.html
new file mode 100644
index 0000000..40232f4
--- /dev/null
+++ b/test/fixtures/html-in-svg-in-html/output.html
@@ -0,0 +1,21 @@
+
+
+
+
+ SVG
+
+
+ HTML in SVG in HTML
+
+
+
diff --git a/test/fixtures/mathml/input.html b/test/fixtures/mathml/input.html
new file mode 100644
index 0000000..b227647
--- /dev/null
+++ b/test/fixtures/mathml/input.html
@@ -0,0 +1,23 @@
+
+MathML
+The quadratic formula
+
+
+
diff --git a/test/fixtures/mathml/output.html b/test/fixtures/mathml/output.html
new file mode 100644
index 0000000..854d9dd
--- /dev/null
+++ b/test/fixtures/mathml/output.html
@@ -0,0 +1,39 @@
+
+
+
+ MathML
+
+
+ The quadratic formula
+
+
+
+
+
diff --git a/test/fixtures/svg/input.html b/test/fixtures/svg/input.html
new file mode 100644
index 0000000..8a12ecc
--- /dev/null
+++ b/test/fixtures/svg/input.html
@@ -0,0 +1,7 @@
+
+
diff --git a/test/fixtures/svg/output.html b/test/fixtures/svg/output.html
new file mode 100644
index 0000000..a4ccb1d
--- /dev/null
+++ b/test/fixtures/svg/output.html
@@ -0,0 +1,12 @@
+
+
+
+
+
+
+
diff --git a/test/fixtures/xhtml/input.html b/test/fixtures/xhtml/input.html
new file mode 100644
index 0000000..0aad016
--- /dev/null
+++ b/test/fixtures/xhtml/input.html
@@ -0,0 +1,4 @@
+
+
+Example document
+Example paragraph
diff --git a/test/fixtures/xhtml/output.html b/test/fixtures/xhtml/output.html
new file mode 100644
index 0000000..a9270ca
--- /dev/null
+++ b/test/fixtures/xhtml/output.html
@@ -0,0 +1,9 @@
+
+
+
+ Example document
+
+
+ Example paragraph
+
+