tests: two tweaks to fix tests.
assetgen: fix typos.
assetgen: add `request.assetgen_hash()` method.