anchor.diff:  
       log_dimensions(),
   
  +    %% Run pre_hook for user code preconditions
  +    run_pre_hook(),
  +
       %% Spin up the application
       ok = basho_bench_app:start(),
   
  
positive.code:                         end
                  end,
      filelib:fold_files(Dir, ".*.erl", false, CompileFn, ok).
  
negative.code: wait_for_stop(Mref, infinity) ->
      receive
          {'DOWN', Mref, _, _, Info} ->
              run_post_hook(),
              ?CONSOLE("Test stopped: ~p\n", [Info])
      end;
  wait_for_stop(Mref, DurationMins) ->
      Duration = timer:minutes(DurationMins) + timer:seconds(1),
      receive
          {'DOWN', Mref, _, _, Info} ->
              run_post_hook(),
              ?CONSOLE("Test stopped: ~p\n", [Info]);
          {shutdown, Reason, Exit} ->
              run_post_hook(),
              basho_bench_app:stop(),
              ?CONSOLE("Test shutdown: ~s~n", [Reason]),
              halt(Exit)
  
      after Duration ->
              run_post_hook(),
              basho_bench_app:stop(),
              ?CONSOLE("Test completed after ~p mins.\n", [DurationMins])
      end.
  