Change tail to head in ht-spkitable.c

Fix memory leaks, add asserts to test src_remove in test_add_1()