test cases for sms.rb