This is something I have often wondered about, "How does God feel about it?" I can definitely see the point if it is for things like cancer research, to find a cure for cancer or a disease, but just to see "how they function" is not beneficial. At least that is my opinion, and unless it is for the benefit of human beings, I see it as animal abuse, which is contradictory to God's Word.
My opinion is that if there is any other way to do it without using animals so as not to make them suffer, that should be pusued first. God takes no pleasure in the suffering or death of animals, and neither should we as His offspring.