diff --git a/test/vain.js b/test/vain.js
index <HASH>..<HASH> 100644
--- a/test/vain.js
+++ b/test/vain.js
@@ -129,5 +129,22 @@ describe('Vain', function() {
 
       router.handle({ url: testPath, method: 'GET', path: testPath}, res);
     });
+
+    it("should return a 404 for invalid paths", function(done) {
+      var testPath = '/nonexistent-path',
+          router = vain.router("./test/examples"),
+          res = {
+            render: function(val) {
+              done("Render was invoked.");
+            },
+
+            send: function(code) {
+              code.should.equal(404);
+              done();
+            }
+          };
+
+      router.handle({ url: testPath, method: 'GET', path: testPath}, res);
+    });
   });
 });
Add a spec for returning <I> for invalid paths.