Making sure restoreCompleted and restoreFailed are called
Testing restoreCompleted