adds more testing for the query builder