Sorry, but in case of exception between 325 and 345 lines (e.g. assertion fails) handler will not be restored.
Looks like ```@Before``` and ```@After``` better suits for it.