Fix failing events test