Sample test code for the linked list