t/helper: merge test-dump-split-index into test-tool