Return all query text and add test about this.