Add tests for LinkedList