added test cases and fixed remove method in linked list