Circular Linked List test cases on Swift