metrics test fixed