added tests to linked list