fixing interoperability with native child_process. also added tests
Merge pull request #1 from jaredly/master

fixing interoperability with native child_process. also added tests