Initialize accept() inoutparams properly and fix test.
New threads aren't non-switchable, so waitpid() them before scheduling.