added sent field to NewMetric factory

Added a Sent field to factory.MetricParams to allow metric to be added in tests that are already marked as sent.
SetSent returns an error - do an Assert on it to make sure it's nil.