all of methods in QueryBuilder class are tested