Changed txid to txhs, added test for heuristics