Cache test update

* Added docblock to _configCache()
* Made assertions in testNonFatalErrorsWithCacheDisable.
* To avoid "R" (Risky)  in phpunit.