fix subtle bug which made multiline commands fail if not the first job on a job.Service instance

duh!
make unit tests behave despite #74

A new test was added to the job service test suite which triggers #74 on the
target systems (MacOS, lonestar->gsissh->kraken), but is disabled for now.