Add integration test for upstreams