Testing SinglyLinkedList