I would prefer injecting a config object into `\OC_Util::checkServer()` instead of setting values to the config.

Even though the values get restored at the end of the test, if the test fails somewhere that cleanup wont be called