Added integration tests for custom routes.