Ideally, everybody would be tested! But the tests are expensive and in limited numbers (even if free in some countries for people, health authorities still pay for them). And people also won't volunteer to get tested unless knowing they are at high risk.