fixing event tests