The first line of the input contains a single number $T$, the number of test cases.
For each test case, the first line contains two integers $n$, $m$.
Next $n$ lines, each line contains a string $A_i$, describing a verbal evidence.
Next $m$ lines, each line contains a string $B_j$, describing a bullet.
$T\leq 10$
For each test case, $n,m\leq 10^5$, $1\leq |A_i|,|B_j|\leq 10^4$, $\sum |A_i|\leq 10^5$, $\sum |B_j|\leq 10^5$
For all test case, $\sum |A_i|\leq 6*10^5$, $\sum |B_j|\leq 6*10^5$, $A_i$ and $B_j$ consist of only lowercase English letters