[tests] adapt events tests to recent changes