shell.c process testing simplified