small fixed for clean_metric_name
added tests for reset() and clean_metric_name()