fix bug
add test case to linked list