rename compare and hash func type and field names
modify htab_get() to use output params
update test