Tests that reveal whether someone has been infected with the coronavirus are on their way. But they’re not perfect. Here’s what you need to know.