For vaccines you test against a population and compare disease rates between the people who received the vaccine and those that did not. In situations like this I would guess that they will select a high-risk group and then compare infection rates over time between the two groups to see if the vaccine has any effect.