Added darray unit test