So you can't just test. You also need to avoid contact with other people, unless they have also tested negative. The White House clearly was not doing that. Even if they had, the tests are not totally reliable.
Given the number of people who come and go from the White House on a regular basis, it's kind of a surprise they didn't have an outbreak earlier than they did.
It was the job of the CDC to create a vaccine after SARS-1 in 2002/2003, and they failed to either fund or develop one.
There is very little any politician can do once a virus is endemic, as it is in the US, especially with 50 states.
As an example that's comparable to the US situation overall, Toronto did everything right including testing from Day One, yet they've reported 100,000 cases and are doing a hard lockdown:
https://www.cnn.com/2020/11/21/americas/toronto-lockdown-cov...