hope you contacted your lab partner to see if they sent it. if they used voip, then that could explain the location difference.
in addition it could be your lab partner that has the nasty and someone gained access to their contact list. Also many apps will access contact lists on smartphones and send messages.
you may want to go to a tech forum such as techsupportforum dot com, post in their malware section and let one of the experts there help you. They will have you run logs so they can make sure you are clean. cnet is not setup to do that.
So earlier today I get a text claiming to be one of my lab partners in my physics class. The thing is I live on the west coast and this text and the area code is from New York. The most logical explanation I could think of was that I had some sort of spyware on my laptop that discovered my partner's name and my cell phone number and is just messing with me but when I did a full scan with malwarebytes it didn't find anything. welp