add event decorator test