I'll channel my inner 25mlc here...

There could be no harm in simply texting her "good luck on exam"...

And leave it at that...

Regardless of how she responds, or if she responds... it is just you letting a friend know that you are wishing them well on their exam and future...