LSQT Query testing