Removal of the config.Config usages in test code (part-1)
We are replacing usage of the config.Config variable with locally defined and per-test configured configuration entity.
This allows us to run tests in parallel, makes them more isolated and allows us to be less concentrated on the configuration setup.
The change also includes some refactoring in the tests to make them more strict.
Part of: #2699 (closed)
Edited by Pavlo Strokov