Build reliable Apex tests and fix failures methodically.
Recent revisions are kept. Restoring one creates a new revision.