Adds tests for DArray.