Replace dispatchEvent with eventBuffer

account tests temporarily disabled