Fix e2e failure of events test.