Added integration test to routes