diff --git a/tests/qemumigparamsdata/basic.json b/tests/qemumigparamsdata/basic.json
new file mode 100644
index 0000000000000000000000000000000000000000..b810d7cc87146e858e84dccea299c9d79dad3e86
--- /dev/null
+++ b/tests/qemumigparamsdata/basic.json
@@ -0,0 +1,9 @@
+{
+ "compress-level": 1,
+ "compress-threads": 8,
+ "decompress-threads": 2,
+ "cpu-throttle-initial": 20,
+ "cpu-throttle-increment": 10,
+ "max-bandwidth": 33554432,
+ "downtime-limit": 300
+}
diff --git a/tests/qemumigparamsdata/basic.reply b/tests/qemumigparamsdata/basic.reply
new file mode 100644
index 0000000000000000000000000000000000000000..dd8c5287a54c4ffc1f9987d3288e3829ee710807
--- /dev/null
+++ b/tests/qemumigparamsdata/basic.reply
@@ -0,0 +1,12 @@
+{
+ "id": "libvirt-1",
+ "return": {
+ "decompress-threads": 2,
+ "cpu-throttle-increment": 10,
+ "compress-threads": 8,
+ "compress-level": 1,
+ "cpu-throttle-initial": 20,
+ "max-bandwidth": 33554432,
+ "downtime-limit": 300
+ }
+}
diff --git a/tests/qemumigparamsdata/basic.xml b/tests/qemumigparamsdata/basic.xml
new file mode 100644
index 0000000000000000000000000000000000000000..2ca532eff5a0537653a215b5958a4b1f9d8f15eb
--- /dev/null
+++ b/tests/qemumigparamsdata/basic.xml
@@ -0,0 +1,11 @@
+
+
+
+
+
+
+
+
+
+
+
diff --git a/tests/qemumigparamsdata/empty.json b/tests/qemumigparamsdata/empty.json
new file mode 100644
index 0000000000000000000000000000000000000000..0db3279e44b0dc4fb7e694b6cb10210a96ba6ba5
--- /dev/null
+++ b/tests/qemumigparamsdata/empty.json
@@ -0,0 +1,3 @@
+{
+
+}
diff --git a/tests/qemumigparamsdata/empty.reply b/tests/qemumigparamsdata/empty.reply
new file mode 100644
index 0000000000000000000000000000000000000000..7aae399ede0af2e1d6f92553e9dd30718f272eb7
--- /dev/null
+++ b/tests/qemumigparamsdata/empty.reply
@@ -0,0 +1,5 @@
+{
+ "id": "libvirt-1",
+ "return": {
+ }
+}
diff --git a/tests/qemumigparamsdata/empty.xml b/tests/qemumigparamsdata/empty.xml
new file mode 100644
index 0000000000000000000000000000000000000000..8aa3abefc060c62e17d09f82969c839e6e852997
--- /dev/null
+++ b/tests/qemumigparamsdata/empty.xml
@@ -0,0 +1,4 @@
+
+
+
+
diff --git a/tests/qemumigparamstest.c b/tests/qemumigparamstest.c
index 4cc27bcf528ef7be7d89058d13cff637709eaf14..6fb404c24d5ce3f33a8f87a9cc8312609f267f1d 100644
--- a/tests/qemumigparamstest.c
+++ b/tests/qemumigparamstest.c
@@ -228,6 +228,8 @@ mymain(void)
} while (0)
DO_TEST("unsupported");
+ DO_TEST("empty");
+ DO_TEST("basic");
qemuTestDriverFree(&driver);