add get parent job and modify test