test with TxIndexWrapper implementing equals/hashcode