Use libbitcoinconsensus to check tx validity in some tests