Prevent asynchronous event logging events in qunit tests

Bug: T84922
Change-Id: I493f32694ce32a3c72c316cbee2c8e4e7a2ed0d8