add initial process support
add end emitter
add onEnd test
add process kill test
add self
make sure the handle is active