test on linkedlist