fixed ExceptionHandler tests