fixed test for Will/Did restore notification