make sure tests are waiting for their own forked processes
make sure daemonize exits master process with status 0; more tests; test cleanup