anchor.diff:      {
           "callback tests",
           {
  -            foreach, fun setup/0, fun teardown/1,
  +            setup, fun setup/0, fun teardown/1,
               [
                   fun validate_dbname_match/0,
                   fun validate_dbname_no_match/0,
  
positive.code: -include_lib("couch/include/couch_eunit.hrl").
  -include_lib("couch/include/couch_db.hrl").
  
  -record(ctx, {pid, handle}).
  
  %% couch_epi_plugin behaviour
  
  app() -> test_app.
  
negative.code: processes() -> [].
  notify(_, _, _) -> ok.
  
  setup() ->
      application:stop(couch_epi), % in case it's already running from other tests...
      application:unload(couch_epi),
      ok = application:load(couch_epi),
      ok = application:set_env(couch_epi, plugins, [?MODULE]), % only this plugin
      ok = application:start(couch_epi).
  
  teardown(_) ->
      ok = application:stop(couch_epi),
      ok = application:unload(couch_epi).
  
  validate_dbname({true, _Db}, _) -> true;
  validate_dbname({false, _Db}, _) -> false;
  