Add integration test for pagination with `limit`