fix test cases in Reverse Linked List