diff --git a/test/test.js b/test/test.js
index <HASH>..<HASH> 100644
--- a/test/test.js
+++ b/test/test.js
@@ -1,4 +1,9 @@
 
+process.on('uncaughtException', function(err) {
+    console.log('ERROR!!!', err);
+    console.log(err.stack);
+    process.exit();
+});
 
 var BASIC_TEST = false;
 var MOCK_TEST = false;
Adding err.stack output to test. Does not seem to get called, but safe to have.