Checking the restore functionality in the examples