waitpid test.