Test subprocess improvements

Use SIGUSR1 instead of SIGTERM, also, wait on the process queue instead of waiting on the process.