add test code for delete_user