updated error and event widget tests