Added tests for `ExceptionComparator`.