Issue #5907: Fix issues of ccui's addEventListenerXXX in Tests