Added more tests for linked list