Testing restoreCompleted