change LinkedList.string
tests for ArrayList