corrected modified of internal fireEvent method of dispatcher. adjusted testcase for implementation