Cookies weren't deleted if an exception occurred during the test run