added newmetrics function to testing factory

Added a MakeMetric function to the testing factory
I'd probably make "item1" and "42" random.