Added tests for custom routes.