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