Spending on the tests, which analyze genetic material from both people and pathogens, rose 20% year over year in 2024, the analysis found.