diff --git a/lib/main.js b/lib/main.js
index <HASH>..<HASH> 100644
--- a/lib/main.js
+++ b/lib/main.js
@@ -3,7 +3,7 @@
 const logger = require('./logging').logger
 const parseArguments = require('./arguments').parseArguments
 const pkg = require('../package')
-const run = require('./run')
+const run = require('./run').runAllTests
 const travis = require('./travis')
 
 function main () {
diff --git a/lib/run.js b/lib/run.js
index <HASH>..<HASH> 100644
--- a/lib/run.js
+++ b/lib/run.js
@@ -80,4 +80,7 @@ function runTests (outputDir, version) {
     })
 }
 
-module.exports = runAllTests
+module.exports = {
+  runAllTests,
+  runTests
+}
Export all functions in the run module

This is needed to write unit test cases