Adds test for LinkedList iteration.