Use a foreach on tests