solve problem sms and rspec tests