add test function for sms and e-mail but didnt work xwen2