anchor.diff:  
   %% main application starter
   start() ->
  -  application:start(ranch),
  -  application:start(crypto),
  -  application:start(cowlib),
  -  application:start(cowboy),
  -  application:start(rets).
  +  application:ensure_all_started(rets).
   
   %% called from rets_app
   cowboy_opts() ->
  
positive.code:   ?assertEqual({200,0}, rets_client:put(localhost,tibbe,bbb,reset)),
    ?assertEqual({200,1}, rets_client:put(localhost,tibbe,bbb,counter)).
  
  restart_rets() ->
    application:stop(rets),
    application:stop(cowboy),
  
negative.code: start_and_wait() ->
    receive after 200 -> ok end,
    case start() of
      {ok,_} ->
        wait_for_start();
      _ ->
        erlang:display(waiting_for_shutdown),
  