anchor.diff:      {list_to_atom(Task), RawRest}.
   
   %% @private actually not too sure what this does anymore.
  +-spec set_options(rebar_state:t(),{[any()],[any()]}) -> {rebar_state:t(),[any()]}.
   set_options(State, {Options, NonOptArgs}) ->
       GlobalDefines = proplists:get_all_values(defines, Options),
   
  
positive.code:     TestOpts = safe_define_test_macro(ErlOpts),
      [{extra_src_dirs, ["test"]}, {erl_opts, TestOpts}].
  
  safe_define_test_macro(Opts) ->
      %% defining a compile macro twice results in an exception so
      %% make sure 'TEST' is only defined once
  
negative.code:     GlobalConfig3 = rebar_state:set(GlobalConfig2, {plugins, global}, rebar_state:get(GlobalConfigThrowAway, plugins, [])),
      rebar_state:providers(rebar_state:new(GlobalConfig3, Config), GlobalPlugins).
  
  -spec test_state(rebar_state:t()) -> [{'extra_src_dirs',[string()]} | {'erl_opts',[any()]}].
  test_state(State) ->
      %% Fetch the test profile's erl_opts only
      Opts = rebar_state:opts(State),
  