create linked list with test