Yes, we should do this.

For doing this, I think we could create unit tests for sendSMS and sendMMS functions in MessageManager in message_manager.js file.