Fixed a bug in Job#create_or_update
(cherry picked from commit 81abc9b96683f3500e5f7e1743ae82c83cb18281)
Correct typo in test

Typo in local variable for test.(cherry picked from commit 0622dfee99c47ac40cffd9e667faf05f43285643)