test readAsArrayBuffer InvalidState exception in events