Animal testing has been responsible for creating products which have saved millions of lives. For example: Insulin, the cure for diabetes which had a 100% mortality rate prior to its discovery, completely resulted from the removal of livers and extensive observation before&after the procedure on a number of dogs. The fact that these otherwise healthy dogs had their livers surgically extracted and ground up may sound terrible, but consider the following numbers:
According to the CDC (http://www.cdc.gov/diabetes/pubs/statsreport14/national-diabetes-report-web.pdf), there are an estimate of 29.1 million people who live with diabetes in the U.S. today.
The suffering of tens of dogs is responsible for the lives and happiness of millions. Even from a utilitarian perspective, such a thing as animal testing is not only morally permissible, but even morally obligatory.