Added support for job_id from InputXml. Added unittests.