Check to see if process is running instead of it being not None.

The process will always be set in the _connect method
Fixed checking of job_id.

Now works in the case where job_id is 0
Return the job text instead of the job.

Make the result type consistent with the other case.
Add a few more tests.
Merge branch 'dev'