Child process update

This PR fixes (and replaces ?) #61, by fixing the failing unit test.

Feedback welcome on what's left to do (e.g: unimplemented or untested features).