fix a half_search bug in zconv.c, complete test.c for libzconv