All undo-tests pass and pending-undo-list matches old code, except the superfluous trailing nil