Prepare loop for testing sms datas