[PATCH v1] lib/hashtable_test.c: add test for the hashtable structure