Add test case for exception record.