Added a dynamic array data type and corresponding test