More Router stuff.

- Fixed an error in the test.
- Added volatile check to make sure added handlers are callable.