t/helper: merge (unused) test-match-trees into test-tool