Question: Who took hattrick in both innings in test?
Answer: Thomas James Matthews
Jimmy Matthews
Natural Questions answer: Jimmy Matthews (from the Wikipedia article "List of Test cricket hat-tricks")