implemented and testd ht_delete()