adding MetricSender interface; adding Mockito