Rework compute_times to take optional arguments for test-counts