added integration tests for custom routes