Linked list and pointer tests