This is not a good test; you're just repeating the implementation of the function. Instead, you should test with a particular case. Just set `$config` to something constant and make sure your function does what is expected on it.