event decorator tests