Take another look at the sentence:
The comma between class and has is correct. Davina has more interest ... is a main clause. A good friend from my biology class is an appositive, a noun phrase. In the example above, the appositive is interrupting the flow of the sentence, so it requires a comma both in front and behind it.