NXP-14826: Add missing wait for asynchronous event listeners in versioning test