testing data presence via HTSQL