Fix scaling_func_test
Merge pull request #3796 from pmorie/dev/fix_tests

Merged by openshift-bot