added tests for custom routes