added events tests