tested delete patient method