Added test for custom routes