fix metrics reporter test