fix timer_metrics test