fix event tests