Cleanup test exceptions