added child processes to test.c