One more cloud config unit test

Wrote one more unit test for testing the cloud configuration functions in `salt/config.py`. Looks like there might be an issue with extending profiles similar to issue fixed in #13512. I will be looking into that first but I wanted to keep my testing PR separate from the bug fix.