NXP-12787: add wait in safeEdit test to make sure postRestore is done