Update mock to handle 'tests' config section