payment: util: fix test failures on h2

Signed-off-by: Pierre-Alexandre Meyer <pierre@mouraf.org>