Added wait to fix test_sms.py

Added wait in init

Replaced wait
Merge pull request #1044 from teodosia/fix-sent-sms

Added wait to fix test_sms.py