Allow short jobids

Integer jobids will now match. The jobid has a period appended if it
doesn't have one, and is searched for from the start of the jobid.
Refactor tests

Break up tests into individual cases, add BatchStatusTest fixture.