copy linked list with arbitrary pointer, only test case