Added a node test for singly linked lists.