Add onData/onEnd events
Update tests for onData event
Add onData/onEnd events
1.4.1