add unit test for the ListNode