Add testcase with exception handler spread across functions.