added event widget test
added event widget test case
updated code cover test for event