added tester for linked list