test workers
test_query: simplify