Tests: apply common.generateDataSource method