testqueries: update to per-class fixture creation