You could stub
account.sms.messages.create
and ensure you call it right parameters
Module should be called something more descriptive to its behaviour. Text could be typographic text
Make the module more generic so that it is re-usable i.e
def send_text number, message