test that the LinkedList in simple-linked-list is polymorphic