added some unit tests for DHArrayDataSource