anchor.diff:                  );"
                   , 0, 'Imem', IsSec)),
   
  -        ?assertEqual(ok, insert_range(SKey, 100, def, 'Imem', IsSec)),
  +        ?assertEqual(ok, insert_range(SKey, 11, def, 'Imem', IsSec)),
   
           Fsm = start(SKey,"fsm test",10,false,"select * from def;",self()),
  +        Fsm:?button('>'),
  +        receive_respond(Fsm),
  +        Fsm:?button('>'),
  +        receive_respond(Fsm),
  +        Fsm:?button('>'),
  +        receive_respond(Fsm),
           Fsm:?button('>>'),
           receive_respond(Fsm),
  -        Fsm:?button('>>'),
  -        receive_respond(Fsm),
  -        Fsm:?button('>>'),
  -        receive_respond(Fsm),
  -        Fsm:?button('>>'),
  -        receive_respond(Fsm),
           Fsm:?button('>|...'),
           receive_respond(Fsm),
  +        Fsm:?button('<<'),
  +        receive_respond(Fsm),
           Fsm:?button('>|'),
  -        receive_respond(Fsm),
  -        Fsm:?button('<'),
           receive_respond(Fsm),
           Fsm:?button('<<'),
           receive_respond(Fsm),
  
positive.code: %%          {stop, StopReason}
  %% --------------------------------------------------------------------
  
  init(#ctx{bl=BL,reply=Reply,stmtRef=StmtRef,rowFun=RowFun}=Ctx) ->
      TableId=ets:new(results, [ordered_set, public]),
      {ok, empty, #state{bl=BL, reply=Reply, gl=gui_max(BL), ctx=Ctx, stmtRef=StmtRef, rowFun=RowFun, tableId=TableId}}.
  
  %% --------------------------------------------------------------------
  %% Func: SN/2	 non-synchronized event handling
  
negative.code:       #gres{loop=undefined} ->  ok;
        #gres{loop='>|...'} ->    ok;
        #gres{loop=Loop} ->
            timer:sleep(30),       
            Fsm:?button(Loop),
            receive_respond(Fsm)
      end,
  