Fix pre route handlers not firing

* Check and fire specific pre route handler after the 'all' has been fired.
* Added spec for Thumbs.history
* Added test runner