[JobQueue] Added unit tests for job queue code.

Change-Id: I13f2dd555ea807b5d13ea9fbee6626d6a8f5aab3
Merge "[JobQueue] Added unit tests for job queue code."