Extract TestsWithParameterProvider.

This makes it possible to replace the algorithm for acquiring test data, but still use the runner factory.