metrics test fix