Add linked list tests
Clean up and document the linked list implementations