Fixed bug where mistyped background processes would never leave the scheduler. Also separated test files for shell and shell2.