Handle test exceptions from CI