anchor.diff:  -export([start_test_on_nodes_with_dist_app/2, start_test_on_nodes_with_dist_app/3, start_node/2, stop_node/1]).
   -export([start_deps/0, start_app/2, start_app_local/1, stop_deps/0, stop_app/1, stop_app_local/0, start_deps_for_tester_node/0, stop_deps_for_tester_node/0, get_db_node/0]).
   
  +%% Functions to use instead of timer
   -export([wait_for_cluster_cast/0, wait_for_cluster_cast/1, wait_for_nodes_registration/1, wait_for_cluster_init/0, wait_for_cluster_init/1, wait_for_state_loading/0, wait_for_db_reaction/0, wait_for_fuse_session_exp/0, wait_for_request_handling/0]).
   
   %% ====================================================================
  
positive.code:   end,
    ?assertEqual(ok, Ans).
  
  wait_for_nodes_registration(NodesNum) ->
    wait_for_nodes_registration(NodesNum, 20).
  
  check_nodes() ->
    try
      length(gen_server:call({global, ?CCM}, get_nodes, 1000))
  
negative.code:   application:set_env(?APP_Name, Variable, Value),
    set_env_vars(Vars).
  
  %% wait_for_cluster_cast/0
  %% ====================================================================
  %% @doc Wait until cluster processes last cast.
  %% @end
  -spec wait_for_cluster_cast() -> ok | no_return().
  %% ====================================================================
  wait_for_cluster_cast() ->
    wait_for_cluster_cast({global, ?CCM}).
  
  %% wait_for_cluster_cast/1
  %% ====================================================================
  %% @doc Wait until cluster processes last cast.
  %% @end
  -spec wait_for_cluster_cast(GenServ :: term()) -> ok | no_return().
  %% ====================================================================
  wait_for_cluster_cast(GenServ) ->
    timer:sleep(100),
    Ans = try
  