Write Swift tests with clear API guidance.
Recent revisions are kept. Restoring one creates a new revision.