minor test change; fixed bug in queryBuilder