Tx.Query() and test