unittest.c: prev delete() was wrong even for no hash collision
search(): updated to support hash collision