integration tests for routes