Implemented tests for "DataArray" & rewrote "getEntities" - "getEntities" now does not assume the indices of entities to be continuous.