Removed unnecessary calls from query builder tests