Build reliable Apex tests and fix failures methodically.
Apex testing
Only the most recent Revisions are kept. Restoring one saves its content again as the newest.