It also helps that anyone visiting China has to undergo 2 weeks of quarantine before going among the community. If you have the disease under control in your community the only threat is outsiders.
Also, you are right that the positive rate needs to be somewhat low for pooled testing to be effective, so that's why you do it at new breakouts before there has been much spread. I had heard that there are, at least in the US, issues with proper swab and reagent shortages, or at least there were delays due to supply chain issues. I thought there were issues with a lack of PCR machines could be wrong. I don't know what the case is in China, though it is clear that pooling is what they did to test people with lower risk of infection (it's in the last article linked in tristanj's comment).