added accessor to DHArrayDataSource
added some unit tests for DHArrayDataSource