remove test dir and add doubly linked list