Incorporating and addressing testing bias within estimates of epidemic dynamics for SARS-CoV-2