fix typo, add isvalid test to TransactionSearchTest