Fix for empty event object unittest