Added more unit tests for LinkedList.js