Determining the rate of infectious disease testing through contagion potential