Additional unit tests for jobs.

Added some additional tests for the Job class. Also fixed some trailing whitespace.