anchor.diff:  %% stop_globalregistry_node/2
   %% ====================================================================
   %% @doc Stops globalregistry node.
  --spec stop_globalregistry_node(Node :: node()) -> ok | no_return().
  +-spec stop_test_node(Node :: node(), Deps :: list(atom())) -> ok | no_return().
   %% ====================================================================
  -stop_globalregistry_node(Node) ->
  -	rpc:call(Node,test_node_starter,stop_deps,[]),
  +stop_test_node(Node,Deps) ->
  +	rpc:call(Node,application,unload,[globalregistry]),
  +	rpc:call(Node,test_node_starter,stop_deps,[Deps]),
       rpc:call(Node,application,stop,[ctool]),
       rpc:call(Node,application,stop,[globalregistry]),
   	slave:stop(Node).
  
positive.code: 	CookieOpt = " -setcookie "++atom_to_list(erlang:get_cookie())++" ",
  
  	% Start node
  	stop_globalregistry_node(?NODE(Host,NodeName)),
  	{ok,Node} = slave:start(Host, NodeName,CodePathOpt++VerboseOpt++CookieOpt),
  
  	% Prepare environment
  	rpc:call(Node,application,start,[ctool]),
  	rpc:call(Node,test_node_starter,start_deps,[]),
  	rpc:call(Node,test_node_starter,set_env_vars,[EnvVars]),
  	?assertMatch(ok,rpc:call(Node,application,start,[globalregistry])),
  	Node.
  
negative.code: 	lists:foldl(fun(Node, Path) -> " -pa " ++ Node ++ Path end,
  		[], code:get_path()).
  
  %% stop_deps/1
  %% ====================================================================
  %% @doc This function clears after the test.
  -spec stop_deps(Deps :: list(atom)) -> list(Result::term()).
  %% ====================================================================
  stop_deps([]) ->
      [];
  stop_deps([FirstDep | Rest]) ->
  	[application:stop(FirstDep) | stop_deps(Rest)].
  %% 	application:unload(globalregistry).
  
  %% start_deps/1
  %% ====================================================================
  %% @doc This function sets environment for application.
  -spec start_deps(Deps :: list(atom)) -> list(Result::term()).
  %% ====================================================================
  start_deps([]) ->
      [];
  start_deps([lager | Rest]) ->
      [lager:start() | start_deps(Rest)];
  start_deps([ssl | Rest]) ->
      [ssl:start() | start_deps(Rest)];
  start_deps([FirstDep|Rest]) ->
  	[application:start(FirstDep) | start_deps(Rest)].
  %% 	application:load(globalregistry).
  
  %% set_env_vars/1
  %% ====================================================================
  