add event test
bugfix