audit logging tests: Fix flapping test