diff --git a/tests/data/Makefile.am b/tests/data/Makefile.am
index 6f4e77a6b1..a468370449 100644
--- a/tests/data/Makefile.am
+++ b/tests/data/Makefile.am
@@ -69,7 +69,7 @@ EXTRA_DIST = test1 test108 test117 test127 test20 test27 test34 test46 \
test569 test570 test571 test572 test804 test805 test806 test807 test573 \
test313 test1115 test578 test579 test1116 test1200 test1201 test1202 \
test1203 test1117 test1118 test1119 test1120 test1300 test1301 test1302 \
- test1303 test320 test321 test322 test323 test324
+ test1303 test320 test321 test322 test323 test324 test1121 test581
filecheck:
@mkdir test-place; \
diff --git a/tests/data/test1121 b/tests/data/test1121
new file mode 100644
index 0000000000..e704e05fa1
--- /dev/null
+++ b/tests/data/test1121
@@ -0,0 +1,49 @@
+
+
+
+HTTP
+
+
+#
+# Server-side
+
+
+HTTP/1.0 200 OK
+Server: test-server/fake
+Content-Type: text/html
+Content-Length: 6
+
+blaha
+
+
+
+#
+# Client-side
+
+
+http
+
+
+HTTP multiple provided Host: headers
+
+
+-H "Host: host1" -H "Host: host2" -H "Host: host3" http://%HOSTIP:%HTTPPORT/1121
+
+
+
+#
+# Verify data after the test has been "shot"
+
+
+^User-Agent:.*
+
+
+GET /1121 HTTP/1.1
+Accept: */*
+Host: host1
+Host: host2
+Host: host3
+
+
+
+
diff --git a/tests/data/test581 b/tests/data/test581
new file mode 100644
index 0000000000..acaa41b9fa
--- /dev/null
+++ b/tests/data/test581
@@ -0,0 +1,58 @@
+
+
+
+HTTP
+HTTP GET
+multi
+Duplicate-header
+
+
+
+# Server-side
+
+
+HTTP/1.1 200 all good!
+Date: Thu, 09 Nov 2010 14:49:00 GMT
+Server: test-server/fake
+Content-Type: text/html
+Content-Length: 0
+Connection: close
+Content-Type: changed/my/mind
+
+
+
+
+# Client-side
+
+
+http
+
+
+http
+
+# tool is what to use instead of 'curl'
+
+lib507
+
+
+
+multi interface, multiple Content-Type: headers
+
+
+http://%HOSTIP:%HTTPPORT/581
+
+
+
+# Verify data after the test has been "shot"
+
+
+^User-Agent:.*
+
+
+GET /581 HTTP/1.1
+Host: %HOSTIP:%HTTPPORT
+Accept: */*
+
+
+
+