Move the datasource config to tests and added the iterate function to mysqli datasource.