Fix shell syntax in output tests.
Simplified stop task detection a bit.
Updated shutdown task test reference log.

Change understood - stop commands don't hold tasks now, instead they
stop in the submitting state and log who triggered them.