diff --git a/package.json b/package.json
index 68fc437..4683c2c 100644
--- a/package.json
+++ b/package.json
@@ -3,6 +3,6 @@
     "bats": "^1.1.0"
   },
   "scripts": {
-    "test": "bats tests"
+    "test": "rm -rf tests/tmpstubs && rm -rf tests/shellmock.* && bats tests"
   }
 }