added send sms by department functionality and test case