Build maintainable Python tests with pytest.
Recent revisions are kept. Restoring one creates a new revision.