test handling 2 events