add test on event