test for onEnd feature of through
implement through
2.9.0