Add integration test for receiving chunks