Updated code examples in documentation.
Added tests for Routable refactor.