Set asset_record flags and issuer_permissions in create_asset_operation, fix test