Fix ZQLJobManager and test