update test code for delete_user