Generate a new instance for each new generated problem.
Use internal unittest module.
Start moving the logic to the pipeline.
Add pipeline unittests.