integration test for 3xx request