Measure test time