[PATCH v3 0/5] Implement some job related APIs for test driver