Cleanup exceptions testing