test: Add integration test for request pausing.

Signed-off-by: Blaž Hrastnik <blaz.hrast@gmail.com>