Fix autosave tests