anchor.diff:      init_per_testcase/2]).
   
   -export([query_for_updated_records/1,
  -         query_for_axfr/1]).
  +         query_for_axfr/1,
  +         zone_refresh_test/1]).
   
   -include("../include/erldns.hrl").
   -include("../deps/dns/include/dns.hrl").
   all() ->
  -    [query_for_updated_records, query_for_axfr].
  +    [query_for_updated_records, query_for_axfr, zone_refresh_test].
   
   init_per_suite(Config) ->
  +    ok = application:set_env(erldns, storage, [{type, erldns_storage_mnesia}, {dir, "/opt/erl-dns/test/test_db2"}]),
  +    ok = application:set_env(mnesia, dir, "/opt/erl-dns/test/test_db2"),
       ok = application:set_env(erldns, servers, [
           [{port, 8053},
               {listen, [{127,0,0,1}]},
  
positive.code:     {ok, Zone} = erldns_zone_cache:get_zone(<<"example.com">>),
      NewRecords = erldns_zone_transfer_worker:query_for_records(Zone#zone.notify_source, hd(erldns_config:get_address(inet)), Records),
      io:format("New records from master: ~p~n", [NewRecords]),
      %% If we got the same amount of records we wueried for, the test passed.
      true = length(NewRecords) =:= length(Records).
  
  query_for_axfr(_Config) ->
      OldZone = erldns_zone_cache:get_zone_with_records(<<"example.com">>),
  
negative.code:             ]}]
      ]),
      ok = erldns:start(),
      ok = erldns_storage:create(schema),
      ok = erldns_storage:create(zones),
      Config.
  
  end_per_suite(Config) ->
  