test query for worker_data