test cloud code of addevent

add event