Adds createJob API and associated tests