test($collectionDataSource): add unit tests