Added tests for custom routes.
Added tests for custom routes.