Fixed the event based export test