added automated tests, fixed some issues in LinkedList.ts, removed comments from build file