<?xml version="1.0" encoding="UTF-8" ?>
<infinote-test>
 <user id="1" />
 <user id="2" />
 <user id="3" />
 <user id="4" />
 <user id="5" />

 <initial-buffer>
  <segment author="0">abcd</segment>
 </initial-buffer>

 <request time="" user="2">
  <delete pos="1" len="1" />
 </request>

 <request time="" user="1">
  <insert pos="4">x</insert>
 </request>

 <request time="" user="4">
  <insert pos="4">x</insert>
 </request>

 <request time="" user="5">
  <delete pos="3" len="1" />
 </request>

 <request time="" user="5">
  <undo />
 </request>

 <request time="" user="4">
  <delete pos="2" len="2" />
 </request>

 <request time="" user="3">
  <insert pos="1">z</insert>
 </request>

 <request time="" user="1">
  <undo />
 </request>

 <request time="" user="5">
  <redo />
 </request>

 <request time="1:2;2:1;4:2;5:3" user="3">
  <undo />
 </request>

 <request time="2:1;3:2;4:2;5:3" user="1">
  <redo />
 </request>

 <request time="1:2;2:1;3:2;4:2" user="5">
  <undo />
 </request>

 <request time="1:2;3:2;4:2;5:3" user="2">
  <undo />
 </request>

 <request time="" user="5">
  <redo />
 </request>

 <request time="" user="2">
  <redo />
 </request>

 <request time="" user="3">
  <redo />
 </request>

 <request time="1:1;2:2;5:2" user="3">
  <insert pos="0">a</insert>
 </request>

 <request time="" user="3">
  <undo />
 </request>

 <request time="1:1;3:1;5:2" user="2">
  <insert pos="3">y</insert>
 </request>

 <request time="" user="3">
  <undo />
 </request>

 <request time="" user="3">
  <redo />
 </request>

 <request time="" user="3">
  <redo />
 </request>

 <request time="2:3;3:6;5:2" user="1">
  <delete pos="0" len="6" />
 </request>

 <request time="2:1" user="3">
  <insert pos="1">g</insert>
 </request>

 <request time="" user="3">
  <undo />
 </request>

 <request time="" user="3">
  <undo />
 </request>

 <request time="1:1;3:8" user="2">
  <undo />
 </request>

 <request time="1:1" user="3">
  <undo />
 </request>

 <request time="3:3" user="1">
  <undo />
 </request>

 <request time="" user="2">
  <redo />
 </request>

 <request time="1:4;2:4;3:11;5:5" user="4">
  <undo />
 </request>

 <request time="" user="4">
  <undo />
 </request>

 <request time="1:1;2:2;4:2" user="3">
  <redo />
 </request>

 <request time="1:1;2:2;3:1" user="4">
  <redo />
 </request>

 <request time="" user="4">
  <redo />
 </request>

 <request time="" user="4">
  <delete pos="0" len="1" />
 </request>

 <request time="" user="4">
  <undo />
 </request>

 <request time="2:2;3:2;4:6" user="1">
  <insert pos="0">tez</insert>
 </request>

 <request time="1:1;3:2;4:6" user="2">
  <insert pos="2">tar</insert>
 </request>

 <request time="3:1" user="4">
  <undo />
 </request>

 <request time="" user="2">
  <undo />
 </request>

 <request time="" user="1">
  <undo />
 </request>

 <request time="" user="4">
  <redo />
 </request>

 <request time="" user="2">
  <redo />
 </request>

 <request time="" user="4">
  <undo />
 </request>

 <request time="" user="4">
  <undo />
 </request>

 <request time="" user="1">
  <redo />
 </request>

 <final-buffer>
  <segment author="1">tez</segment>
  <segment author="0">a</segment>
  <segment author="3">z</segment>
  <segment author="0">c</segment>
  <segment author="2">tary</segment>
  <segment author="1">x</segment>
 </final-buffer>
</infinote-test>
