cd test/test_dir
 redo
 cd ../..
-echo "== index.html diff test =="
-diff test/test_files/index.html test/test_dir/index.html
-if [ "$?" = "0" ]; then
-  echo "== test SUCCESS =="
-else
-  echo "== test FAILURE =="
-fi
+for file in test/test_files/*.html; do
+  cmp_file=`echo "$file" | sed 's/test_files/test_dir/'`
+  printf "== %s diff test ==\n" "$cmp_file"
+  diff "$file" "$cmp_file"
+  if [ "$?" = "0" ]; then
+    echo "== test SUCCESS =="
+  else
+    echo "== test FAILURE =="
+  fi
+done
 
--- /dev/null
+<!DOCTYPE html>
+<html>
+<head>
+<title>Yet another blog – a title with some nasty characters: &<>"'</title>
+</head>
+<body>
+<h1>a title with some nasty characters: &<>"'</h1>
+<section>
+<p>this text contains some special characters: '"><&</p>
+<p>and more than one paragraph</p>
+</section>
+</body>
+</html>
\ No newline at end of file
 
--- /dev/null
+<!DOCTYPE html>
+<html>
+<head>
+<title>Yet another blog – foo bar baz</title>
+</head>
+<body>
+<h1>foo <em>bar</em> <strong>baz</strong></h1>
+<section>
+<p>bar</p>
+</section>
+</body>
+</html>
\ No newline at end of file