When China announced they had a mystery virus, travel from China should have been stopped.
When China locked down their country, travel from China should have been stopped.
When community spread was detected in Washington state, the U.S. should have been locked down.
Testing wasn't the problem.