adde test for delete handler