fix send sms and add sms tests