# This is the 2nd commit message:  Added a test to check for addRoute.

This fix is required because calling `getRoute` with an invalid route currently returns the first type in `Object.keys(poet.options.routes)`. This can be demonstrated by called `addRoute` with an invalid route, e.g.

    poet.addRoute("/", function(request, response) {
        response.render("index");
    }