tests: metrics_dump_helper fixup.