diff --git a/.gitmodules b/.gitmodules
new file mode 100644
index 0000000000000000000000000000000000000000..98983bc271c0ea240d963cdaab9179000a370073
--- /dev/null
+++ b/.gitmodules
@@ -0,0 +1,9 @@
+[submodule "tests/libs/bats"]
+	path = tests/libs/bats
+	url = https://github.com/sstephenson/bats
+[submodule "tests/libs/bats-assert"]
+	path = tests/libs/bats-assert
+	url = https://github.com/ztombol/bats-assert
+[submodule "tests/libs/bats-support"]
+	path = tests/libs/bats-support
+	url = https://github.com/ztombol/bats-support
diff --git a/tests/libs/bats b/tests/libs/bats
new file mode 160000
index 0000000000000000000000000000000000000000..03608115df2071fff4eaaff1605768c275e5f81f
--- /dev/null
+++ b/tests/libs/bats
@@ -0,0 +1 @@
+Subproject commit 03608115df2071fff4eaaff1605768c275e5f81f
diff --git a/tests/libs/bats-assert b/tests/libs/bats-assert
new file mode 160000
index 0000000000000000000000000000000000000000..9f88b4207da750093baabc4e3f41bf68f0dd3630
--- /dev/null
+++ b/tests/libs/bats-assert
@@ -0,0 +1 @@
+Subproject commit 9f88b4207da750093baabc4e3f41bf68f0dd3630
diff --git a/tests/libs/bats-support b/tests/libs/bats-support
new file mode 160000
index 0000000000000000000000000000000000000000..004e707638eedd62e0481e8cdc9223ad471f12ee
--- /dev/null
+++ b/tests/libs/bats-support
@@ -0,0 +1 @@
+Subproject commit 004e707638eedd62e0481e8cdc9223ad471f12ee