custom routes
added functional tests for custom routes