restore changes of test