function setallactives

-delete old tests from the tracer file
-write the method setallactives
-write some comments