Fix for CFG unit-tests.
Fix for CFG unit-test.

Test is checking the wrong function.