add event test
bugfix event delegation