Added tests for the linked list