test of a linked list