send envent when user is click and corresponding test