testing DoublyLinkedLists