The exact quote was: "We have a simple message for all countries: test, test, test."
My fav useless tweet from WHO is "there's no evidence human human transmission". I mean, if you don't know for sure, then let's not announce it.
As far as I know, most countries are ramping their testing facilities as fast as possible, some are just more effective or had a head start.
Also, being able to test anybody who asks it would have dismissed arbitrary criteria that are pushed by governments around the world to minimize the illness. For example in the country where I am, it was until recently difficult to get tested unlike there was an established contact with a tested positive person.
Maybe a country has 1000 tests on hand, they test that first 1k people and can say they followed the WHO's advice. That's all that was possible given their immediate stock.
To solve that, a reform is needed. But absolutely not by cutting its funds, which is silly.