fix metric analyer test bug