Use TestWithParameters for creating runners.

The new class holds all the information that is needed for creating a single runner.