diff --git a/test/test_stormpath.js b/test/test_stormpath.js
index <HASH>..<HASH> 100644
--- a/test/test_stormpath.js
+++ b/test/test_stormpath.js
@@ -35,4 +35,13 @@ describe('.init', function() {
       });
     });
   });
+
+  it('should throw an error when an invalid configuration is supplied', function() {
+    var stormpath = require('../index');
+    var app = express();
+
+    assert.throws(function() {
+      app.use(stormpath.init(app, { application: {}, client: {} }));
+    }, Error);
+  });
 });
Adding a test to ensure invalid configs don't work!@