Always use get_cached_raw_transaction().

BTW fixe tests.