Add ExceptionPartitioner test case.