Improve new tests factories

Add factory for datasets, allow to define the user creating the objects