Write tests that state the behavior clearly.
Recent revisions are kept. Restoring one creates a new revision.