test query block job function