fix bad stream references for test mode in shell-lib.c
minor tweaks to process test
get shell tests passing
get shell IO tests passing
fake di, ei, and getCurrentPID in multiple test files
progress on process tests