diff --git a/tests/test_run.py b/tests/test_run.py
index 8e7a7a8b1327508cb9b39ba6f2a84f8867be38fc..9952c7e741e70ddc7e8f8965e1c20ba8d76bceee 100644
--- a/tests/test_run.py
+++ b/tests/test_run.py
@@ -36,6 +36,17 @@ def mkexec(path, contents):
     os.chmod(path, 0o755)
 
 
+def test_prepareArgs():
+    tests = [
+        ('a b c',              ['a', 'b', 'c']),
+        (['a', 'b', 'c'],      ['a', 'b', 'c']),
+        ('abc "woop woop"',    ['abc', 'woop woop']),
+        (['abc', 'woop woop'], ['abc', 'woop woop']),
+    ]
+
+    for args, expected in tests:
+        assert run.prepareArgs((args, )) == expected
+
 def test_run():
 
     test_script = textwrap.dedent("""