added more test cases for sign out and admin send email