Refactoring, add tests for Analyzer\Config.