peakRate counter unit test for logic plus one thread-based unit test