Earlier testing and tracing could have prevented spread of COVID-19 in U.S. and Europe