Finish the linklist test and make some optimize