A Simple Planning Problem for COVID-19 Lockdown, Testing, and Tracing