Parameterized throughput test to allow running contention tests.