add tests for custom routes