Added tests and extensions to Array and CoreLinkedList