Merge "Refactor rtc rate control test" into main