Replace a sleep with a wait in test_sms
This addresses issue #106
Merge pull request #320 from bobsilverberg/wait

Replace a sleep with a wait in test_sms