Added wait to fix test_sms.py

Added wait in init

Replaced wait