AC-7779

Added unit tests for injob(). Showed that the declaration
for injob needed to be changed from a static int to a bool.