add test for custom routes