Update job retry tests and prevent retry info from getting persisted to mongo if not provided