add test on user is deleted