Exceptions for JobName Null
Fixing a bug on the build wrapper.

Adding some unit tests