implemented MetricsCollectorSpec
finished EWMA spec