Added another unit test for linklist, and minor API addition.