Write Python tests that cover more than happy paths.
Recent revisions are kept. Restoring one creates a new revision.