adds accessor for tracer for tests