#5 query, dds, aggregate tests