Created DynamicArray and tests