Merge "EC_ADAPT: refactor and fix MinArfFreq unit tests." into nextgenv2