test: Update approx_time before the test starts