Well, for one thing, if people can be tested to confirm they had and recovered from the virus and therefore have some immunity to it, those people can more safely assist people who are currently ill and move about more freely in society (unless they are still at risk to transmit the virus to others, of course).