Fix broken metric test