Added IntervalCounter UnitTest