Simplified tests
Simplified tests
Removed a duplicate test
Implemented close handlers.
I had to make my mock route config objects more sophisticated to achieve this.
Refactor to support multiple HTTP verbs.
Added support for HTTP post
Refactor to be able to easily add new verbs.
Added HTTP verbs put and delete.