Base class for benchmarks that need a separate instance for every
iteration and need to have them prepared before the actual test.
The benchmark based on this class needs only to implement method
createInstance, and implement test methods that will use array
of created instances, named instances.