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