Modified LinkedList test class