Just as he had every right to take her in for testing. Kinda works both ways. It is in fact disputable that the two troopers texts shows they were out to teach anyone a lesson. It was two male troopers texting. Not sure what they said that was so awful. As far as the cussing goes it didn't offend the person sending nor recieving the text. So deal with it.
More information about formatting options