Add test case for throwing exception inside the handling action