Full spec coverage for unit_query_builder