Add test for custom routes