We analyze the effectiveness of testing programmes for infectious diseases, in which the testing freqency for the individuals is heterogenously distributed for the population.The preprint is available here.