add tests for RateSink and RateAccumulator